chore(main): release 0.17.0 (#120) #86
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: Run Release Please | |
| on: | |
| push: | |
| branches: [main] | |
| jobs: | |
| release-package: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| id-token: write | |
| contents: write # Contents and pull-requests are for release-please to make releases. | |
| pull-requests: write | |
| issues: write | |
| steps: | |
| # Normally a workflow cannot trigger another workflow. For this workflow we need to run required checks. | |
| # Github determines that something is created by a workflow/bot based on the token. | |
| - uses: launchdarkly/gh-actions/actions/release-secrets@release-secrets-v1.2.0 | |
| name: 'Get PAT' | |
| with: | |
| aws_assume_role: ${{ vars.AWS_ROLE_ARN }} | |
| ssm_parameter_pairs: '/production/common/releasing/o11y_gh_pat = GITHUB_PAT' | |
| - uses: googleapis/release-please-action@a02a34c4d625f9be7cb89156071d8567266a2445 | |
| id: release | |
| with: | |
| token: ${{ env.GITHUB_PAT }} | |
| - uses: actions/checkout@v4 | |
| if: ${{ steps.release.outputs.releases_created == 'true' }} | |
| with: | |
| fetch-depth: 0 # If you only need the current version keep this. |