Skip to content

chore: testing

chore: testing #30

# When a third-party action is added (i.e., `uses`), please also add it to `download-licenses` in Makefile.
on:
push:
branches:
- main
name: release-please
permissions:
contents: read
id-token: write
pull-requests: write
jobs:
release-please:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
timeout-minutes: 2
outputs:
release_created: ${{ steps.release.outputs.release_created }}
steps:
- uses: googleapis/release-please-action@c2a5a2bd6a758a0937f1ddb1e8950609867ed15c # v4.3.0
id: release
trigger-release-automation:

Check failure on line 25 in .github/workflows/release-please.yaml

View workflow run for this annotation

GitHub Actions / release-please

Invalid workflow file

The workflow is not valid. .github/workflows/release-please.yaml (Line: 25, Col: 3): Error calling workflow 'coderbirju/finch/.github/workflows/release-automation.yaml@192b8b368981a705e07dc0fb81a2c616a52bc226'. The workflow is requesting 'contents: write', but is only allowed 'contents: read'. .github/workflows/release-please.yaml (Line: 25, Col: 3): Error calling workflow 'coderbirju/finch/.github/workflows/release-automation.yaml@192b8b368981a705e07dc0fb81a2c616a52bc226'. The nested job 'upload-pkg-and-dependency-source-code-to-release' is requesting 'contents: write', but is only allowed 'contents: read'.
name: Trigger release-automation.yaml if PR is merged
needs: [release-please]
if: ${{ needs.release-please.outputs.release_created == 'true' }}
uses: ./.github/workflows/release-automation.yaml