Skip to content

ci: skip release-please job in forks missing RELEASE_PLEASE_TOKEN_PROVIDER_PEM - #53

Merged
baywet merged 1 commit into
mainfrom
copilot/replicate-pr-49-changes
Apr 18, 2026
Merged

baywet merged 1 commit into
mainfrom
copilot/replicate-pr-49-changes

Conversation

Copilot AI commented Apr 18, 2026

Copy link
Copy Markdown
Contributor

The release-please workflow fails in forks or environments where RELEASE_PLEASE_TOKEN_PROVIDER_PEM isn't configured, erroring at the GitHub App token generation step.

Changes

  • .github/workflows/release-please.yml: Added an if guard to the release-please job so it's skipped when the secret is absent:
jobs:
  release-please:
    if: ${{ secrets.RELEASE_PLEASE_TOKEN_PROVIDER_PEM != '' }}

Mirrors the fix from kiota-authentication-oauth-ruby#49.

@baywet
baywet marked this pull request as ready for review April 18, 2026 10:59
@baywet
baywet requested a review from a team as a code owner April 18, 2026 10:59
@baywet
baywet enabled auto-merge April 18, 2026 10:59
@baywet
baywet merged commit 845bdb0 into main Apr 18, 2026
5 checks passed
@baywet
baywet deleted the copilot/replicate-pr-49-changes branch April 18, 2026 11:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants