mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-04-30 20:40:09 +00:00
Split issue triage workflows
This commit is contained in:
parent
f6656950a9
commit
5f49acd75b
6 changed files with 678 additions and 285 deletions
31
.github/workflows/issue-version-label-sync.yml
vendored
Normal file
31
.github/workflows/issue-version-label-sync.yml
vendored
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
name: Issue Version Label Sync
|
||||
|
||||
on:
|
||||
issues:
|
||||
types:
|
||||
- opened
|
||||
- edited
|
||||
- reopened
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
issues: write
|
||||
|
||||
jobs:
|
||||
sync:
|
||||
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: Sync issue version metadata
|
||||
uses: actions/github-script@v7
|
||||
with:
|
||||
script: |
|
||||
const triage = require(`${process.env.GITHUB_WORKSPACE}/.github/scripts/issue-version-triage.cjs`);
|
||||
await triage.syncLabels({ github, context, core });
|
||||
Loading…
Add table
Add a link
Reference in a new issue