build(deps-dev): Bump tornado from 6.4 to 6.4.1 #140
Workflow file for this run
This file contains 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
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 |