Automated rollback of commit 108a4a3094.

PiperOrigin-RevId: 578962175
pull/14588/head
Mike Kruskal 1 year ago committed by Copybara-Service
parent 3ea774370a
commit 9b0e9d50af
  1. 1
      .github/workflows/staleness_check.yml
  2. 8
      .github/workflows/staleness_refresh.yml

@ -54,6 +54,7 @@ jobs:
credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }} credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }}
bazel-cache: staleness bazel-cache: staleness
bash: > bash: >
set -ex;
if [[ -z $COMMIT_TRIGGERED_RUN || -z $MAIN_RUN ]]; then if [[ -z $COMMIT_TRIGGERED_RUN || -z $MAIN_RUN ]]; then
bazel query 'attr(tags, "staleness_test", //...)' | xargs bazel test $BAZEL_FLAGS || bazel query 'attr(tags, "staleness_test", //...)' | xargs bazel test $BAZEL_FLAGS ||
echo "Please run ./regenerate_stale_files.sh to regenerate stale files"; echo "Please run ./regenerate_stale_files.sh to regenerate stale files";

@ -30,10 +30,6 @@ jobs:
# failing then you may need to generate a fresh token. # failing then you may need to generate a fresh token.
token: ${{ secrets.BOT_ACCESS_TOKEN }} token: ${{ secrets.BOT_ACCESS_TOKEN }}
- name: Configure name and email address in Git - name: Configure name and email address in Git
run: git config user.name "Protobuf Team Bot" && git config user.email "protobuf-team-bot@google.com" 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 - name: Commit and push update
uses: protocolbuffers/protobuf-ci/bazel@v2 run: cd ${{ github.workspace }} && ./ci/push_auto_update.sh
with:
credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }}
bazel-cache: staleness
bash: ci/push_auto_update.sh

Loading…
Cancel
Save