Merge pull request #995 from who-biz/who-biz_s8 #175
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: 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 |