Skip to content

ci: fix secret passing #4

ci: fix secret passing

ci: fix secret passing #4

on:
push:
branches:
- dev
permissions:
contents: write
pull-requests: write
name: release-please
jobs:
release-pr:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v3
with:
release-type: simple
default-branch: dev
build-docs:
needs: release-pr
uses: ./.github/workflows/build-docs.yml

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

View workflow run for this annotation

GitHub Actions / .github/workflows/release-please.yml

Invalid workflow file

error parsing called workflow ".github/workflows/release-please.yml" -> "./.github/workflows/build-docs.yml" (source branch with sha:b74bc23bb02c62a30049fe02c446073ffea02574) : secret name `GITHUB_TOKEN` within `workflow_call` can not be used since it would collide with system reserved name
secrets: inherit
build-images:
needs: release-pr
uses: ./.github/workflows/build-images.yml
secrets: inherit