1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-08-07 22:18:30 -04:00

add(workflows): update notify_issues input to release flows

Port 1.5
This commit is contained in:
purian23
2026-07-12 16:27:32 -04:00
parent 6e7c20c59c
commit eaecff93a4
2 changed files with 17 additions and 3 deletions
+9 -1
View File
@@ -11,6 +11,11 @@ on:
description: "Point release version (e.g. 1.5.1)" description: "Point release version (e.g. 1.5.1)"
required: true required: true
type: string type: string
notify_issues:
description: "Comment on open related/fixes issues asking reporters to retest"
required: false
type: boolean
default: true
permissions: permissions:
contents: write contents: write
@@ -79,7 +84,10 @@ jobs:
- name: Dispatch Release workflow - name: Dispatch Release workflow
env: env:
GH_TOKEN: ${{ steps.app_token.outputs.token }} GH_TOKEN: ${{ steps.app_token.outputs.token }}
run: gh workflow run release.yml --ref "${{ steps.derive.outputs.tag }}" -f tag="${{ steps.derive.outputs.tag }}" run: |
gh workflow run release.yml --ref "${{ steps.derive.outputs.tag }}" \
-f tag="${{ steps.derive.outputs.tag }}" \
-f notify_issues="${{ inputs.notify_issues }}"
- name: Next steps - name: Next steps
run: | run: |
+8 -2
View File
@@ -7,6 +7,11 @@ on:
description: "Tag to release (e.g., v1.0.1)" description: "Tag to release (e.g., v1.0.1)"
required: true required: true
type: string type: string
notify_issues:
description: "Comment on open related/fixes issues asking reporters to retest"
required: false
type: boolean
default: false
permissions: permissions:
contents: write contents: write
@@ -430,9 +435,10 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# Ask reporters on still-open "related/fixes #N" issues to retest. # Ask reporters on still-open "related/fixes #N" issues to retest.
# Skipped for prereleases; --dry-run locally: scripts/notify-issues.sh <prev> <tag> --dry-run # Opt-in via notify_issues (Point release defaults it on). Skipped for
# prereleases. Preview: scripts/notify-issues.sh <prev> <tag> --dry-run
- name: Notify open issues to retest - name: Notify open issues to retest
if: ${{ !contains(env.TAG, '-') }} if: ${{ inputs.notify_issues && !contains(env.TAG, '-') }}
env: env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: | run: |