Protocol Buffers - Google's data interchange format (grpc依赖)
https://developers.google.com/protocol-buffers/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
1.0 KiB
34 lines
1.0 KiB
2 years ago
|
name: Auto-generate stale checked-in files
|
||
2 years ago
|
|
||
|
on:
|
||
2 years ago
|
push:
|
||
|
branches:
|
||
|
- main
|
||
|
- '[0-9]+.x'
|
||
2 years ago
|
# The 21.x branch predates support for auto-generation, so we make sure
|
||
|
# to exclude it.
|
||
2 years ago
|
- '!21.x'
|
||
2 years ago
|
|
||
2 years ago
|
permissions: {}
|
||
2 years ago
|
jobs:
|
||
|
cmake:
|
||
2 years ago
|
permissions:
|
||
|
contents: write # for git push
|
||
|
|
||
2 years ago
|
if: github.repository == 'protocolbuffers/protobuf'
|
||
2 years ago
|
runs-on: ubuntu-latest
|
||
|
|
||
|
strategy:
|
||
|
fail-fast: false # Don't cancel all jobs if one fails.
|
||
|
|
||
|
steps:
|
||
2 years ago
|
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
|
||
2 years ago
|
with:
|
||
|
# Note: this token has an expiration date, so if the workflow starts
|
||
|
# failing then you may need to generate a fresh token.
|
||
|
token: ${{ secrets.BOT_ACCESS_TOKEN }}
|
||
|
- name: Configure name and email address in Git
|
||
|
run: cd ${{ github.workspace }} && git config user.name "Protobuf Team Bot" && git config user.email "protobuf-team-bot@google.com"
|
||
|
- name: Commit and push update
|
||
2 years ago
|
run: cd ${{ github.workspace }} && ./push_auto_update.sh
|