fix(permissions): Fix reading permission #43511
Workflow file for this run
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: docker-dryrun | |
| on: | |
| pull_request: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| files-changed: | |
| uses: ./.github/workflows/files-changed.yml | |
| # QEMU-based build is slow (40-50 minutes), so run arm64 and riscv64 when dockerfile changes. | |
| # Run amd64 when any docker-related files change, which is fast (4 minutes). | |
| container-amd64: | |
| if: needs.files-changed.outputs.docker == 'true' | |
| needs: [files-changed] | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - uses: ./.github/actions/docker-dryrun | |
| with: | |
| platform: linux/amd64 | |
| container-arm64: | |
| if: needs.files-changed.outputs.dockerfile == 'true' | |
| needs: [files-changed] | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - uses: ./.github/actions/docker-dryrun | |
| with: | |
| platform: linux/arm64 | |
| container-riscv64: | |
| if: needs.files-changed.outputs.dockerfile == 'true' | |
| needs: [files-changed] | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - uses: ./.github/actions/docker-dryrun | |
| with: | |
| platform: linux/riscv64 |