From 31197ecae0e73d22602fed95c59b88fa8191a141 Mon Sep 17 00:00:00 2001 From: Alan Tse Date: Mon, 9 Oct 2023 18:10:35 -0700 Subject: [PATCH] ci: add todo action --- .github/workflows/todo.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/todo.yaml diff --git a/.github/workflows/todo.yaml b/.github/workflows/todo.yaml new file mode 100644 index 000000000..76c59edbb --- /dev/null +++ b/.github/workflows/todo.yaml @@ -0,0 +1,22 @@ +# https://github.com/marketplace/actions/todo-to-issue#todo-to-issue-action +name: "Run TODO to Issue" +on: + push: + workflow_dispatch: + inputs: + MANUAL_COMMIT_REF: + description: "The SHA of the commit to get the diff for" + required: true + MANUAL_BASE_REF: + 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 +jobs: + build: + runs-on: "ubuntu-latest" + steps: + - uses: "actions/checkout@v3" + - name: "TODO to Issue" + uses: "alstr/todo-to-issue-action@master" + env: + MANUAL_COMMIT_REF: ${{ inputs.MANUAL_COMMIT_REF }} + MANUAL_BASE_REF: ${{ inputs.MANUAL_BASE_REF }}