Skip to content

ci: grant pull-requests:read so lint-pr-title workflow starts (#31) #27

ci: grant pull-requests:read so lint-pr-title workflow starts (#31)

ci: grant pull-requests:read so lint-pr-title workflow starts (#31) #27

name: Release Please
on:
push:
branches:
- main
jobs:
release-please:
runs-on: ubuntu-latest
permissions:
contents: write # Contents and pull-requests are for release-please to make releases.
issues: write # Needed to create labels
pull-requests: write
outputs:
release-created: ${{ steps.release.outputs.release_created }}
steps:
- uses: googleapis/release-please-action@45996ed1f6d02564a971a2fa1b5860e934307cf7 # v5.0.0
id: release
release-sdk:

Check failure on line 21 in .github/workflows/release-please.yml

View workflow run for this annotation

GitHub Actions / Release Please

Invalid workflow file

The workflow is not valid. .github/workflows/release-please.yml (Line: 21, Col: 3): Error calling workflow 'launchdarkly/ruby-server-sdk-ai/.github/workflows/publish.yml@a01d985b772cb16fb84f6f28689e3e57ca3514d6'. The nested job 'build-publish' is requesting 'attestations: write, contents: write, id-token: write', but is only allowed 'attestations: none, contents: read, id-token: none'.
needs: ['release-please']
if: ${{ needs.release-please.outputs.release-created == 'true' }}
uses: ./.github/workflows/publish.yml
with:
dry_run: false