Skip to content

Commit

Permalink
jix: init repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ttrssreal committed Dec 7, 2024
0 parents commit ec03628
Show file tree
Hide file tree
Showing 59 changed files with 2,574 additions and 0 deletions.
52 changes: 52 additions & 0 deletions .github/workflows/todo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# https://github.com/alstr/todo-to-issue-action/?tab=readme-ov-file#url-insertion

name: File issues for todo comments

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:
- name: Checkout
uses: actions/checkout@v4

- name: File issues
uses: alstr/[email protected]
env:
MANUAL_COMMIT_REF: ${{ inputs.MANUAL_COMMIT_REF }}
MANUAL_BASE_REF: ${{ inputs.MANUAL_BASE_REF }}
with:
INSERT_ISSUE_URLS: true
AUTO_ASSIGN: true
CLOSE_ISSUES: true
# write comments in MD
ESCAPE: false

- name: Set Git user
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
- name: Commit and Push Changes
run: |
git add -A
if [[ `git status --porcelain` ]]; then
git commit -m "Automatically added GitHub issue links to TODOs"
git push origin main
else
echo "No changes to commit"
fi
Loading

0 comments on commit ec03628

Please sign in to comment.