QGIS/.github/workflows/sipify-bot.yml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

39 lines
834 B
YAML
Raw Normal View History

name: Run sipify
on:
2024-07-16 11:58:08 +02:00
workflow_dispatch:
push:
branches:
- master
- release-*
jobs:
sipify:
runs-on: [ubuntu-latest]
steps:
2024-08-13 13:16:50 +02:00
- 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/pull-request-comment-branch@v2.1.0
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 bot@qgis.org
git add .
2024-07-16 12:32:08 +02:00
git commit -m "auto sipify 🍺" || echo "nothing to commit"
git push