feat(trusted-publishing): initial commit to add github actions to sup… #9
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: CI | ||
| permissions: | ||
| contents: read | ||
| on: | ||
| push: | ||
| branches: ['master', 'next', 'testing-oidc-trusted-publishing'] | ||
| pull_request: | ||
| branches: ['*'] | ||
| jobs: | ||
| build: | ||
| uses: ./.github/workflows/build.yml | ||
| check: | ||
| needs: build | ||
| uses: ./.github/workflows/check.yml | ||
| release: | ||
| # TODO: remove 'testing-oidc-trusted-publishing' branch once trusted publishing is stable | ||
| if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/testing-oidc-trusted-publishing' || github.ref == 'refs/heads/next') | ||
| needs: [build, check] | ||
| permissions: | ||
| contents: write | ||
| id-token: write | ||
| actions: read | ||
| uses: ./.github/workflows/release.yml | ||
|
Check failure on line 27 in .github/workflows/main.yaml
|
||
| secrets: | ||
| VAULT_URL: ${{ secrets.VAULT_URL }} | ||