Skip to content

fix(ci): release please with checkout (#2492) #5

fix(ci): release please with checkout (#2492)

fix(ci): release please with checkout (#2492) #5

Workflow file for this run

name: Release
on:
push:
branches:
- master
permissions:
contents: write
pull-requests: write
jobs:
# 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