Skip to content
This repository was archived by the owner on Aug 24, 2026. It is now read-only.

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

Closed
Vincent Biret (baywet) with Copilot wants to merge 1 commit into
mainfrom
copilot/replicate-changes-from-pr-66
Closed

ci: skip release-please job when secret is not defined#49
Vincent Biret (baywet) with Copilot wants to merge 1 commit into
mainfrom
copilot/replicate-changes-from-pr-66

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, erroring at the GitHub App token generation step.

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-serialization-json-ruby#66.

@baywet
Vincent Biret (baywet) marked this pull request as ready for review April 18, 2026 10:44
@baywet
Vincent Biret (baywet) requested a review from a team as a code owner April 18, 2026 10:44
This was referenced Apr 20, 2026
auto-merge was automatically disabled April 20, 2026 12:39

Pull request was closed

@baywet
Vincent Biret (baywet) deleted the copilot/replicate-changes-from-pr-66 branch April 20, 2026 12:39
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants