mirror of
https://github.com/allthingslinux/tux.git
synced 2024-10-02 16:43:12 +00:00
feat(.github/workflows/todo.yml): add new GitHub action to convert TODO comments into GitHub issues for better tracking and management of pending tasks
This commit is contained in:
parent
c23f46c033
commit
8b33210640
1 changed files with 25 additions and 0 deletions
25
.github/workflows/todo.yml
vendored
Normal file
25
.github/workflows/todo.yml
vendored
Normal file
|
@ -0,0 +1,25 @@
|
|||
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 }}
|
||||
with:
|
||||
PROJECTS_SECRET: ${{ secrets.ADMIN_PAT }}
|
Loading…
Reference in a new issue