mirror of
https://github.com/ppy/osu.git
synced 2026-05-16 16:23:39 +08:00
ccb0224a1b
It's still broken: https://github.com/ppy/osu/actions/runs/22310482792/job/64540909415 and I'm not sure what else it could be other than this, so I'm giving it one more honest try before I throw up hands. For better or worse, https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-syntax#permissions explicitly lists that the `pull-requests` permission allows tagging PRs, so I'm holding out hope that this is it. Still terrible marks for documentation here, both to the github action, as well as everything to do with `GITHUB_TOKEN`.
20 lines
462 B
YAML
20 lines
462 B
YAML
name: Copy labels from linked issues
|
|
|
|
on:
|
|
pull_request:
|
|
types: [opened]
|
|
|
|
permissions:
|
|
issues: read # to read the labels of any linked issue(s)
|
|
pull-requests: write # to put the found labels if any on the PR
|
|
|
|
jobs:
|
|
copy-labels:
|
|
runs-on: ubuntu-latest
|
|
name: Copy labels from linked issues
|
|
steps:
|
|
- name: Copy labels
|
|
uses: michalvankodev/copy-issue-labels@v1.3.0
|
|
with:
|
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|