docs: documenting required permissions for filestore backup list and … #209
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PR Contributor Docs Permission Lint | |
on: | |
pull_request: | |
paths: | |
- "ci/**" | |
- "docs/**" | |
jobs: | |
permission_lint: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
combination: | |
- docsPath: docs/contributor/aws-permissions.md | |
permissionPath: Statement.0.Action | |
- docsPath: docs/contributor/gcp-permissions.md | |
permissionPath: "" | |
- docsPath: docs/contributor/azure-permissions.md | |
permissionPath: Actions | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "20" | |
- name: Run permission lint script | |
run: node ci/docs-permission-sorter.js ${{ matrix.combination.docsPath }} ${{ matrix.combination.permissionPath }} |