Skip to content

ci: skip release-please job when GitHub App token secret is absent#117

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

ci: skip release-please job when GitHub App token secret is absent#117
Copilot wants to merge 1 commit into
mainfrom
copilot/replicate-changes-from-pr-49

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 18, 2026

The release-please workflow fails in forks or environments missing RELEASE_PLEASE_TOKEN_PROVIDER_PEM, crashing at the GitHub App token generation step.

Changes

  • .github/workflows/release-please.yml: Added job-level if guard to skip the release-please job when the secret is not set:
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:56
@baywet baywet requested a review from a team as a code owner April 18, 2026 10:56
@baywet baywet enabled auto-merge April 18, 2026 10:56
@baywet baywet closed this Apr 20, 2026
auto-merge was automatically disabled April 20, 2026 12:43

Pull request was closed

@baywet baywet deleted the copilot/replicate-changes-from-pr-49 branch April 20, 2026 12:43
@baywet baywet restored the copilot/replicate-changes-from-pr-49 branch May 25, 2026 12:37
@baywet baywet reopened this May 25, 2026
@baywet baywet closed this May 25, 2026
@baywet baywet deleted the copilot/replicate-changes-from-pr-49 branch May 25, 2026 12:38
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