Files
pulse/.github/workflows/issue-version-retest-comment.yml
T
rcourtman 730290cc80 Split issue triage workflows
Separate silent issue metadata sync from public retest guidance so maintainer edits and reporter-facing comments do not share the same workflow boundary. Extract the shared parsing and classification logic into a local helper with a small node test so both workflows stay in sync without duplicating the script.
2026-04-15 19:08:06 +01:00

31 lines
766 B
YAML

name: Issue Version Retest Comment
on:
issues:
types:
- opened
- reopened
permissions:
contents: read
issues: write
jobs:
comment:
if: ${{ github.event.issue.pull_request == null }}
runs-on: ubuntu-latest
steps:
- name: Check out triage helper
uses: actions/checkout@v4
with:
sparse-checkout: |
.github/scripts/issue-version-triage.cjs
sparse-checkout-cone-mode: false
- name: Post retest guidance when needed
uses: actions/github-script@v7
with:
script: |
const triage = require(`${process.env.GITHUB_WORKSPACE}/.github/scripts/issue-version-triage.cjs`);
await triage.postRetestComment({ github, context, core });