Skip to content

ci(deps): update codspeedhq/action digest to f99becd #451

ci(deps): update codspeedhq/action digest to f99becd

ci(deps): update codspeedhq/action digest to f99becd #451

# 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@ce9dc3a1daa92e93ddfe62d8378b93cedaa5056c # v3
with:
client-id: ${{ vars.APP_CLIENT_ID }}
private-key: ${{ secrets.APP_PRIVATE_KEY }}
- name: Checkout
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
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@718ea10b132b3b2eba29c1007bb80653f286566b # 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 }}