-
Notifications
You must be signed in to change notification settings - Fork 190
37 lines (35 loc) · 1.01 KB
/
make_qr_codes.yml
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
name: Update QR codes
on:
push:
branches:
- master
jobs:
generate_qr_codes:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Generate QR Codes
run: |
pip3 install pypng==0.20220715.0
pip3 install PyQRCode==1.2.1
utils/generate_qr_codes.py
utils/generate_candidates_json.py
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
add-paths: |
*.png
*.json
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: Update candidate QR codes
committer: GitHub <[email protected]>
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
branch: update-qr-codes
delete-branch: true
title: '[BOT] Update QR codes'
body: |
- Auto-generated qr codes on merge to master
labels: |
qr-update
reviewers: smk762
draft: false