Skip to content

build(deps): Bump the ci-dependencies group across 1 directory with 3 updates #148

build(deps): Bump the ci-dependencies group across 1 directory with 3 updates

build(deps): Bump the ci-dependencies group across 1 directory with 3 updates #148

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/[email protected]"
with:
app_id: "${{ secrets.BADABUMP_APP_ID }}"
private_key: "${{ secrets.BADABUMP_APP_PRIVATE_KEY }}"
- uses: "actions/[email protected]"
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