diff --git a/.github/workflows/main-draft.yml b/.github/workflows/main-draft.yml index b8c7de9..ad66c5a 100644 --- a/.github/workflows/main-draft.yml +++ b/.github/workflows/main-draft.yml @@ -44,5 +44,18 @@ jobs: asset_path: ./root.pdf asset_name: ${{ steps.vars.outputs.sha_short }}_draft.pdf asset_content_type: application/pdf - + build_todos: + runs-on: "ubuntu-latest" + steps: + - uses: "actions/checkout@master" + - name: "TODO to Issue" + uses: "alstr/todo-to-issue-action@v1.3-beta" + with: + REPO: ${{ github.repository }} + BEFORE: ${{ github.event.before }} + SHA: ${{ github.sha }} + TOKEN: ${{ secrets.GITHUB_TOKEN }} + LABEL: "\todo" + COMMENT_MARKER: "%" + id: "todo" diff --git a/.github/workflows/todo.yml b/.github/workflows/todo.yml deleted file mode 100644 index f1cc8f6..0000000 --- a/.github/workflows/todo.yml +++ /dev/null @@ -1,19 +0,0 @@ -name: TODO Issues -on: - push: - branches: [ draft ] -jobs: - build: - runs-on: "ubuntu-latest" - steps: - - uses: "actions/checkout@master" - - name: "TODO to Issue" - uses: "alstr/todo-to-issue-action@v1.3-beta" - with: - REPO: ${{ github.repository }} - BEFORE: ${{ github.event.before }} - SHA: ${{ github.sha }} - TOKEN: ${{ secrets.GITHUB_TOKEN }} - LABEL: "\todo" - COMMENT_MARKER: "%" - id: "todo" \ No newline at end of file