Skip to content

Update update-protobufs.yaml #9

Update update-protobufs.yaml

Update update-protobufs.yaml #9

name: Update Protobufs
on:
workflow_dispatch:
push:
branches:
- yaakov/auto-protos # temporary trigger during development
#schedule:
#- cron: '0 17 * * SUN'
permissions:
contents: write
pull-requests: write
jobs:
update-protobufs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
with:
submodules: true
- name: Run update script
shell: pwsh
run: Resources/ProtobufGen/update.ps1
# TODO: We need a new GitHub Machine Account (or maybe an existing one?) to generate a PAT that we can use as the token here
# otherwise, our new changes will not trigger further Actions (on:push or on:pull_request, i.e. CI/CD builds).
#- name: Create Pull Request
# uses: peter-evans/create-pull-request@v6
# with:
# #token: ${{ secrets.PAT }}
# commit-message: Update protobufs
# title: Update protobufs
# body: |
# - Update protobufs
# branch: auto/protobufs