forked from qgis/QGIS
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (31 loc) · 918 Bytes
/
sipify-bot.yml
File metadata and controls
39 lines (31 loc) · 918 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Run sipify
on:
workflow_dispatch:
push:
branches:
- master
- release-*
jobs:
sipify:
if: github.repository == 'qgis/QGIS'
runs-on: [ubuntu-latest]
steps:
- uses: actions/setup-python@v6
with:
python-version: '3.13'
- name: Install Requirements
run: pip install nose2 mock termcolor pyyaml
- name: Get PR branch
uses: alessbell/pull-request-comment-branch@ef3408c9757d05f89cb525036383033a313758a0 # v2.1.0
if: ${{ github.event_name == 'issue_comment' }}
id: comment-branch
- uses: actions/checkout@v6
- 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 .
git commit -m "auto sipify 🍺" || echo "nothing to commit"
git push