Continuous Integration #413
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: Continuous Integration | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| schedule: | |
| # run at 17:00 UTC every weekday | |
| - cron: "0 17 * * 1,2,3,4,5" | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| id-token: write # zizmor: ignore[excessive-permissions] | |
| jobs: | |
| test-action-lab: | |
| name: GitHub Actions Test (Lab) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| id: checkout | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| persist-credentials: false | |
| - name: Test Local Action (Lab) | |
| id: test-action | |
| uses: ./ | |
| with: | |
| amplify-endpoint: https://api.lab.amplify.security | |
| test-action-prod: | |
| name: GitHub Actions Test (Prod) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| id: checkout | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| persist-credentials: false | |
| - name: Test Local Action | |
| id: test-action-prod | |
| uses: ./ |