removed todo to issue workflow (#7401)

* removed todo to issue workflow

* Revert "removed todo to issue workflow"

This reverts commit 915c18fe2b.

* Make todo only when code reaches main

---------

Co-authored-by: zomars <zomars@me.com>
pull/7310/head
Peer Richelsen 2023-02-24 23:51:14 +01:00 committed by GitHub
parent aaccfa49ce
commit 7d1bc5f0c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 7 deletions

View File

@ -1,6 +1,6 @@
name: TODO to Issue name: TODO to Issue
on: on:
pull_request_target: # So we can test on forks push:
branches: branches:
- main - main
workflow_dispatch: workflow_dispatch:
@ -12,17 +12,13 @@ on:
description: "By default, the commit entered above is compared to the one directly before it; to go back further, enter an earlier SHA here" description: "By default, the commit entered above is compared to the one directly before it; to go back further, enter an earlier SHA here"
required: false required: false
concurrency: concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true cancel-in-progress: true
jobs: jobs:
todos: todos:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout repo - uses: actions/checkout@v3
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 2
- name: "Add TODOs to issues" - name: "Add TODOs to issues"
uses: "alstr/todo-to-issue-action@v4" uses: "alstr/todo-to-issue-action@v4"
env: env: