auto sipify 🍺 #1
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: Run sipify | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- master | |
- release-* | |
jobs: | |
sipify: | |
runs-on: [ubuntu-latest] | |
steps: | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.12' | |
- name: Install Requirements | |
run: pip install nose2 mock termcolor pyyaml | |
- name: Get PR branch | |
uses: alessbell/[email protected] | |
if: ${{ github.event_name == 'issue_comment' }} | |
id: comment-branch | |
- uses: actions/checkout@v4 | |
- name: run sipify | |
run: ./scripts/sipify_all.sh -m | |
- name: commit | |
run: | | |
git config user.name qgis-bot | |
git config user.email [email protected] | |
git add . | |
git commit -m "auto sipify 🍺" || echo "nothing to commit" | |
git push |