session 157 - initial commit #132
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
name: Parse tags | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
default: | |
name: Parse tags | |
runs-on: ubuntu-latest | |
environment: master | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.head_ref }} | |
- name: Tag files | |
env: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: ./tag.py | |
- name: Commit tagged files | |
uses: stefanzweifel/git-auto-commit-action@v4 | |
if: ${{ success() }} | |
with: | |
commit_message: Parse tags | |
branch: parsed | |
create_branch: true | |
push_options: '--force' |