chore: Add write permission to milestone checker (#3155)
This commit is contained in:
1 parent
f816611dd0
commit
8c5464802d
1 file changed
+2
-1
@@ -13,12 +13,13 @@ on:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
statuses: write
|
||||
|
||||
jobs:
|
||||
# checks that a milestone entry is present for a PR
|
||||
milestone-check:
|
||||
# If there is a `pr/no-milestone` label we ignore this check
|
||||
if: contains(github.event.pull_request.labels.*.name, 'pr/no-milestone') != 'true'
|
||||
if: contains(github.event.pull_request.labels.*.name, 'pr/no-milestone') != true
|
||||
runs-on: ${{ fromJSON(vars.RUNNER) }}
|
||||
steps:
|
||||
- name: Checkout Actions
|
||||
|
||||
Reference in new issue
Block a user