chore: Add write permission to milestone checker (#3155)

This commit is contained in:
Michael Li authored and GitHub committed 2023-04-10 08:46:49 -04:00
1 parent f816611dd0
commit 8c5464802d
1 file changed
+2 -1
+2 -1
View File
@@ -13,12 +13,13 @@ on:
permissions: permissions:
contents: read contents: read
statuses: write
jobs: jobs:
# checks that a milestone entry is present for a PR # checks that a milestone entry is present for a PR
milestone-check: milestone-check:
# If there is a `pr/no-milestone` label we ignore this 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) }} runs-on: ${{ fromJSON(vars.RUNNER) }}
steps: steps:
- name: Checkout Actions - name: Checkout Actions