Skip to content

ci: skip release-please job in forks/environments without app token secret - #72

Closed
baywet with Copilot wants to merge 1 commit into
mainfrom
copilot/replicate-changes-from-pr-49
Closed

baywet with Copilot wants to merge 1 commit into
mainfrom
copilot/replicate-changes-from-pr-49

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 is not configured, since the GitHub App token generation step errors out unconditionally.

Changes

  • .github/workflows/release-please.yml: Added an if condition to the release-please job to bail out early when the secret is absent:
jobs:
  release-please:
    if: ${{ secrets.RELEASE_PLEASE_TOKEN_PROVIDER_PEM != '' }}

Mirrors microsoft/kiota-authentication-oauth-ruby#49.

@baywet
baywet marked this pull request as ready for review April 18, 2026 10:53
@baywet
baywet requested a review from a team as a code owner April 18, 2026 10:53
@baywet
baywet enabled auto-merge April 18, 2026 10:54
@baywet baywet closed this Apr 20, 2026
auto-merge was automatically disabled April 20, 2026 12:42

Pull request was closed

@baywet
baywet deleted the copilot/replicate-changes-from-pr-49 branch April 20, 2026 12:42
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