BAU: Bump the aws group across 1 directory with 15 updates #2647
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: Scan repository | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| push: | |
| branches: [main] | |
| schedule: | |
| # Every Monday at 9am | |
| - cron: "0 9 * * 1" | |
| concurrency: | |
| group: scan-repo-${{ github.head_ref || github.ref_name }} | |
| cancel-in-progress: true | |
| permissions: {} | |
| jobs: | |
| coverage: | |
| name: Collect coverage | |
| if: ${{ github.event_name != 'pull_request' }} | |
| uses: ./.github/workflows/run-unit-tests.yml | |
| with: | |
| coverage-report: true | |
| sonarcloud: | |
| name: SonarCloud | |
| needs: coverage | |
| runs-on: ubuntu-latest | |
| if: ${{ success() || needs.coverage.result == 'skipped' }} | |
| steps: | |
| - name: Run SonarCloud scan | |
| uses: govuk-one-login/github-actions/code-quality/sonarcloud@7bc197778553493ca4c6fb4a78caf3cfd03f8ccb | |
| with: | |
| sonar-token: ${{ secrets.SONAR_TOKEN }} | |
| github-token: ${{ secrets.GITHUB_TOKEN }} | |
| coverage-artifact: ${{ needs.coverage.outputs.coverage-artifact || 'coverage' }} | |
| coverage-run-id: ${{ github.event_name != 'pull_request' && github.run_id || null }} | |
| codeql: | |
| name: CodeQL | |
| runs-on: ubuntu-latest | |
| permissions: | |
| security-events: write | |
| steps: | |
| - name: Run CodeQL scan | |
| uses: govuk-one-login/github-actions/code-quality/codeql@e6b6ed890b35904e1be79f7f35ffec983fa4d9db | |
| with: | |
| languages: javascript-typescript |