Repository navigation
ci(deps): update codspeedhq/action digest to 0ca9cbb #464
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@ba7e8a8be5abc0d1e1bac89ccc58f86204c06a20 # 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@3d0d9888cb7fd7b750713d6e236d1fcb99157228 # 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 }} |