chore: Commit Issue Template Updates Directly

This commit is contained in:
Rajarshee Chatterjee
2026-08-10 07:45:43 +05:30
parent 64f6046dd2
commit 65f6f5fbfa
+11 -13
View File
@@ -19,7 +19,6 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions: permissions:
contents: write contents: write
pull-requests: write
if: | if: |
github.repository == 'LNReader/lnreader-plugins' && github.repository == 'LNReader/lnreader-plugins' &&
github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.conclusion == 'success' &&
@@ -38,16 +37,15 @@ jobs:
- name: Generate Issue Template Options - name: Generate Issue Template Options
run: node ./.github/scripts/generate-issue-template-options.cjs run: node ./.github/scripts/generate-issue-template-options.cjs
- name: Create Or Update Pull Request - name: Commit And Push Changes
uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1 run: |
with: if git diff --quiet -- .github/ISSUE_TEMPLATE/report_issue.yml .github/scripts/keys.json; then
commit-message: 'chore: Update Issue Template Plugin Options [skip ci]' echo "No issue template changes to commit." >> "$GITHUB_STEP_SUMMARY"
branch: 'update-issue-template' exit 0
title: 'chore: Update Issue Template Plugin Options [skip ci]' fi
body: |
Updates the issue template with the latest plugin dropdown options.
This PR is automatically generated after plugins are published. git config user.name "github-actions[bot]"
labels: 'bot' git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
base: 'master' git add .github/ISSUE_TEMPLATE/report_issue.yml .github/scripts/keys.json
delete-branch: true git commit -m "chore: Update Issue Template Plugin Options [skip ci]"
git push origin HEAD:master