Skip to content

ci: skip release-please job when secret is not defined#59

Closed
Copilot wants to merge 1 commit intomainfrom
copilot/replicate-changes-from-pr-86
Closed

ci: skip release-please job when secret is not defined#59
Copilot wants to merge 1 commit intomainfrom
copilot/replicate-changes-from-pr-86

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 18, 2026

The release-please workflow fails in forks or environments where RELEASE_PLEASE_TOKEN_PROVIDER_PEM is not configured, causing the GitHub App token generation step to error out.

Changes

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

Mirrors the fix applied in kiota-abstractions-ruby#86.

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

Pull request was closed

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