Chore: Organize permissions on pipeline. #284
This file contains hidden or 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: Deployment Pipeline | ||
| on: | ||
| push: | ||
| branches: [ main ] | ||
| tags: [ "v*" ] | ||
| pull_request: | ||
| branches: [ main ] | ||
| jobs: | ||
| native: | ||
| name: Native Builds | ||
| permissions: | ||
| contents: write | ||
| uses: ./.github/workflows/native.yml | ||
| secrets: inherit | ||
| wasm: | ||
| name: WebAssembly | ||
| permissions: | ||
| contents: write | ||
| uses: ./.github/workflows/wasm.yml | ||
| secrets: inherit | ||
| demo: | ||
|
Check failure on line 25 in .github/workflows/pipeline.yml
|
||
| name: Deploy Demo (GitHub Pages) | ||
| uses: ./.github/workflows/demo.yml | ||
| secrets: inherit | ||