Repository navigation
ci(deps): update actions/checkout digest to 3d3c42e #456
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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@c8e76ded35806a60e54afd4500a5174295fe5fa2 # 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 }} |