Skip to content

Commit

Permalink
fix(ci): release please with checkout (#2492)
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel A. White authored Mar 18, 2024
1 parent b6be539 commit ea378fc
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,23 @@ permissions:
pull-requests: write

jobs:
# Update release PR
release_please:
# Create release PR
release-please:
name: Release Please
runs-on: ubuntu-latest
if: github.repository == 'stoplightio/prism'
outputs:
release_created: ${{ steps.release.outputs.release_created }}
tag_name: ${{ steps.release.outputs.tag_name }}
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: google-github-actions/release-please-action@v4
id: release
with:
token: ${{ secrets.RELEASE_PLEASE_GITHUB_TOKEN }}
release-type: 'node'
target-branch: master

0 comments on commit ea378fc

Please sign in to comment.