Skip to content

Commit

Permalink
chore: Run release-please only on open-telemetry
Browse files Browse the repository at this point in the history
Currently, release-please attempts to run on forks of
opentelemetry-ruby-contrib. The workflow fails with the message
"GitHub Actions is not permitted to create or approve pull requests."
release-please is not needed on forks.
  • Loading branch information
kaylareopelle committed Apr 1, 2024
1 parent d206c11 commit f338e58
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release-please.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ permissions:

jobs:
prepare:
if: ${{ github.repository == 'open-telemetry/opentelemetry-ruby-contrib' }}
name: Process Release
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit f338e58

Please sign in to comment.