mirror of
https://github.com/acaloiaro/neoq
synced 2026-07-21 18:29:08 +00:00
combined todo to issue workflows
This commit is contained in:
parent
ad58949cd0
commit
6c33a95e56
2 changed files with 13 additions and 21 deletions
14
.github/workflows/todo_to_issue.yml
vendored
14
.github/workflows/todo_to_issue.yml
vendored
|
|
@ -1,5 +1,14 @@
|
|||
name: "Run TODO to Issue"
|
||||
on: ["push"]
|
||||
on:
|
||||
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
|
||||
push:
|
||||
jobs:
|
||||
build:
|
||||
runs-on: "ubuntu-latest"
|
||||
|
|
@ -7,6 +16,9 @@ jobs:
|
|||
- uses: "actions/checkout@v3"
|
||||
- name: "TODO to Issue"
|
||||
uses: "alstr/todo-to-issue-action@v4"
|
||||
env:
|
||||
MANUAL_COMMIT_REF: ${{ inputs.MANUAL_COMMIT_REF }}
|
||||
MANUAL_BASE_REF: ${{ inputs.MANUAL_BASE_REF }}
|
||||
with:
|
||||
AUTO_ASSIGN: true
|
||||
AUTO_P: true
|
||||
|
|
|
|||
20
.github/workflows/todo_to_issue_manual.yml
vendored
20
.github/workflows/todo_to_issue_manual.yml
vendored
|
|
@ -1,20 +0,0 @@
|
|||
name: "Manuallly run TODO to Issue"
|
||||
on:
|
||||
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 }}
|
||||
Loading…
Reference in a new issue