We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4aa8500 commit 2ce01cdCopy full SHA for 2ce01cd
.github/workflows/deploy-docs.yml
@@ -12,7 +12,11 @@ on:
12
jobs:
13
deploy-docs:
14
runs-on: ubuntu-latest
15
- # Only run on master/main pushes or PRs with "docs" label
+ permissions:
16
+ contents: read
17
+ pull-requests: write
18
+ issues: write
19
+ # Only run on master/main pushes or PRs with "documentation" label
20
if: |
21
github.event_name == 'push' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main') ||
22
github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'documentation') ||
0 commit comments