Преглед изворни кода

Try adjusting permissions to label (#2012)

Context: https://github.com/carbon-language/carbon-lang/runs/7811528469?check_suite_focus=true

Permissions seem to be different from when I was testing, seeing if this is enough.
Jon Ross-Perkins пре 3 година
родитељ
комит
767e712b47
2 измењених фајлова са 6 додато и 0 уклоњено
  1. 3 0
      .github/workflows/proposal_labeled.yaml
  2. 3 0
      .github/workflows/proposal_ready.yaml

+ 3 - 0
.github/workflows/proposal_labeled.yaml

@@ -19,6 +19,9 @@ on:
     types:
     types:
       - labeled
       - labeled
 
 
+permissions:
+  pull-requests: write
+
 jobs:
 jobs:
   proposal_labeled:
   proposal_labeled:
     runs-on: ubuntu-latest
     runs-on: ubuntu-latest

+ 3 - 0
.github/workflows/proposal_ready.yaml

@@ -10,6 +10,9 @@ on:
     types:
     types:
       - ready_for_review
       - ready_for_review
 
 
+permissions:
+  pull-requests: write
+
 jobs:
 jobs:
   proposal_ready:
   proposal_ready:
     if: contains(github.event.pull_request.labels.*.name, 'proposal')
     if: contains(github.event.pull_request.labels.*.name, 'proposal')