Skip to content

build(deps-dev): bump types-redis from 4.5.5.2 to 4.6.0.3 #218

build(deps-dev): bump types-redis from 4.5.5.2 to 4.6.0.3

build(deps-dev): bump types-redis from 4.5.5.2 to 4.6.0.3 #218

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@v1.8.0"
with:
app_id: "${{ secrets.BADABUMP_APP_ID }}"
private_key: "${{ secrets.BADABUMP_APP_PRIVATE_KEY }}"
- uses: "actions/checkout@v3.5.2"
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