Skip to content

ci(deps): update softprops/action-gh-release digest to 718ea10 #441

ci(deps): update softprops/action-gh-release digest to 718ea10

ci(deps): update softprops/action-gh-release digest to 718ea10 #441

# This file is @generated by <https://github.com/liblaf/copier-release>.
# DO NOT EDIT!
name: Release / Publish
on:
pull_request:
branches:
- main
types:
- closed
jobs:
release-draft:
name: Create Release
permissions:
contents: write
if: startsWith(github.head_ref, 'release-please/') && github.event.pull_request.merged
runs-on: ubuntu-latest
environment:
name: release-please
deployment: false
steps:
- id: auth
name: Auth
uses: liblaf/actions/auth@512d1652c6a71a8f141d1901f50994afaddc925e # v3
with:
client-id: ${{ vars.APP_CLIENT_ID }}
private-key: ${{ secrets.APP_PRIVATE_KEY }}
- name: Checkout
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
with:
token: ${{ steps.auth.outputs.token }}
- id: version
name: Get version
run: |-
tag="$(awk '{ print $NF }' <<< "$TITLE")"
version="${tag#'v'}"
echo "tag=$tag" >> "$GITHUB_OUTPUT"
echo "version=$version" >> "$GITHUB_OUTPUT"
env:
TITLE: ${{ github.event.pull_request.title }}
- name: Create release
uses: softprops/action-gh-release@b4309332981a82ec1c5618f44dd2e27cc8bfbfda # v3
with:
body: ${{ github.event.pull_request.body }}
tag_name: ${{ steps.version.outputs.tag }}
target_commitish: ${{ github.event.pull_request.merge_commit_sha }}
token: ${{ steps.auth.outputs.token }}