1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-27 00:20:50 +08:00

Fix "copy labels from issues" workflow not having the appropriate permissions to do what it claims to do (#36602)

This commit is contained in:
Bartłomiej Dach
2026-02-06 12:22:53 +01:00
committed by GitHub
Unverified
parent a616fa61c9
commit 2efe0c95e6
@@ -1,13 +1,19 @@
name: Copy labels from linked issues
on:
pull_request:
types: [opened]
permissions:
issues: write # to read the labels of any linked issue(s), and to put the found labels if any on the PR
# not granting any `pull_requests` permissions because in github's modeling pull requests are a subset of issues. it's confusing.
jobs:
copy-labels:
runs-on: ubuntu-latest
name: Copy labels from linked issues
steps:
- name: copy-labels
- name: Copy labels
uses: michalvankodev/copy-issue-labels@v1.3.0
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}