2023-02-09 01:24:01 +00:00
|
|
|
|
name: TODO to Issue
|
|
|
|
|
on:
|
2023-02-24 22:51:14 +00:00
|
|
|
|
push:
|
2023-02-09 01:24:01 +00:00
|
|
|
|
branches:
|
|
|
|
|
- main
|
|
|
|
|
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
|
|
|
|
|
concurrency:
|
2023-02-24 22:51:14 +00:00
|
|
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
2023-02-09 01:24:01 +00:00
|
|
|
|
cancel-in-progress: true
|
|
|
|
|
jobs:
|
|
|
|
|
todos:
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
steps:
|
2023-02-24 22:51:14 +00:00
|
|
|
|
- uses: actions/checkout@v3
|
2023-02-09 01:24:01 +00:00
|
|
|
|
- name: "Add TODOs to issues"
|
|
|
|
|
uses: "alstr/todo-to-issue-action@v4"
|
|
|
|
|
env:
|
|
|
|
|
MANUAL_COMMIT_REF: ${{ inputs.MANUAL_COMMIT_REF }}
|
|
|
|
|
MANUAL_BASE_REF: ${{ inputs.MANUAL_BASE_REF }}
|
|
|
|
|
with:
|
|
|
|
|
IDENTIFIERS: '[{"name": "TODO", "labels": ["🙋🏻♂️help wanted"]}, {"name": "FIXME", "labels": ["🐛 bug"]}]'
|