ソースを参照

Moved permissions setup to toplevel for the Labels Github action.

nessita 2 ヶ月 前
コミット
862b7f98a0
1 ファイル変更3 行追加2 行削除
  1. 3 2
      .github/workflows/labels.yml

+ 3 - 2
.github/workflows/labels.yml

@@ -8,12 +8,13 @@ concurrency:
   group: ${{ github.workflow }}-${{ github.ref }}
   cancel-in-progress: true
 
+permissions:
+  pull-requests: write
+
 jobs:
   no_ticket:
     name: "Flag if no Trac ticket is found in the title"
     runs-on: ubuntu-latest
-    permissions:
-      pull-requests: write
     steps:
       - uses: actions/checkout@v4