Merge pull request #16324 from guardian/sa-gallery-section-linlk #28779
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: DCR CICD | |
| on: | |
| push: | |
| jobs: | |
| container: | |
| permissions: | |
| packages: write | |
| uses: ./.github/workflows/container.yml | |
| production-container: | |
| permissions: | |
| contents: read | |
| id-token: write # Required to exchange for AWS credentials using OIDC | |
| uses: ./.github/workflows/container-production.yml | |
| secrets: | |
| GU_RIFF_RAFF_ROLE_ARN: ${{ secrets.GU_RIFF_RAFF_ROLE_ARN }} | |
| prettier: | |
| uses: ./.github/workflows/prettier.yml | |
| jest: | |
| uses: ./.github/workflows/jest.yml | |
| lint: | |
| uses: ./.github/workflows/lint.yml | |
| playwright: | |
| needs: [container] | |
| uses: ./.github/workflows/playwright.yml | |
| with: | |
| container-image: ${{ needs.container.outputs.container-image }} | |
| publish: | |
| permissions: | |
| id-token: write | |
| contents: read | |
| pull-requests: write # required by riff-raff action | |
| needs: [container, prettier, jest, lint, playwright] | |
| uses: ./.github/workflows/publish.yml | |
| with: | |
| container-image: ${{ needs.container.outputs.container-image }} | |
| secrets: | |
| GU_RIFF_RAFF_ROLE_ARN: ${{ secrets.GU_RIFF_RAFF_ROLE_ARN }} |