Skip to content

build(deps-dev): bump the dev-dependencies group across 1 directory with 4 updates #239

build(deps-dev): bump the dev-dependencies group across 1 directory with 4 updates

build(deps-dev): bump the dev-dependencies group across 1 directory with 4 updates #239

Workflow file for this run

defaults:
run:
shell: "bash"
name: "Auto Create Release Tag"
on:
pull_request:
types: ["closed"]
env:
PYTHONUNBUFFERED: "1"
jobs:
create_release_tag:
if: "${{ startsWith(github.head_ref, 'chore/release-') && github.event.pull_request.merged == true }}"
name: "Auto Create Release Tag"
runs-on: "ubuntu-latest"
steps:
- id: "token"
uses: "tibdex/github-app-token@v2.1.0"
with:
app_id: "${{ secrets.BADABUMP_APP_ID }}"
private_key: "${{ secrets.BADABUMP_APP_PRIVATE_KEY }}"
- uses: "actions/checkout@v4.1.7"
with:
ref: "main"
token: "${{ steps.token.outputs.token }}"
- uses: "./.github/actions/install_badabump"
- id: "badabump"
name: "Run badabump"
run: "badabump-ci prepare_tag"
- name: "Save tag message into the file"
run: |
with open("./tag_message.txt", "w+") as handler:
handler.write("""${{ steps.badabump.outputs.tag_message }}""")
shell: "python"
- name: "Create release tag from latest commit"
run: |
set -euo pipefail
git config user.name badabump-release-bot[bot]
git config user.email badabump-release-bot[bot]@users.noreply.github.com
git tag -a ${{ steps.badabump.outputs.tag_name }} -F ./tag_message.txt
git push --tag