Bump protobufs from ca9539a
to 29aea2b
#35
Workflow file for this run
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: language | |
on: | |
pull_request: | |
paths: | |
- protobufs | |
permissions: | |
contents: write | |
jobs: | |
language: | |
if: ${{ github.event_name == 'pull_request' && github.event.pull_request.merged == false }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
submodules: recursive | |
- run: make language | |
- run: | | |
git config --global user.name "github-actions[bot]" | |
git config --global user.email "github-actions[bot]@users.noreply.github.com" | |
git checkout ${{ github.head_ref }} | |
if ! git diff --quiet; then | |
git commit -a -m "Upgrade language from protobufs" | |
git push origin HEAD:${{ github.head_ref }} | |
fi | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |