Skip to content

Commit

Permalink
fix: Resolving google-github-actions/auth@v1.1.1 failures (#3279)
Browse files Browse the repository at this point in the history
* fix: resolve persistent 'google-github-actions/auth failed with: retry function failed after 4 attempts' error

* fix: updating missing permissions for github actions jobs for existing workflows

* fix merge conflict

---------

Co-authored-by: Karl Weinmeister <kweinmeister@google.com>
  • Loading branch information
pattishin and kweinmeister committed Jun 15, 2023
1 parent c456528 commit 57c4d51
Show file tree
Hide file tree
Showing 109 changed files with 961 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .github/workflows/appengine-analytics.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,27 @@ on:
- cron: '0 0 * * 0'
jobs:
test:
permissions:
contents: 'read'
id-token: 'write'
if: github.event.action != 'labeled' || github.event.label.name == 'actions:force-run'
uses: ./.github/workflows/test.yaml
with:
name: 'appengine-analytics'
path: 'appengine/analytics'
remove_label:
permissions:
contents: 'read'
id-token: 'write'
if: |
github.event.action == 'labeled' &&
github.event.label.name == 'actions:force-run' &&
always()
uses: ./.github/workflows/remove-label.yaml
flakybot:
permissions:
contents: 'read'
id-token: 'write'
if: github.event_name == 'schedule' && always() # always() submits logs even if tests fail
uses: ./.github/workflows/flakybot.yaml
needs: [test]
9 changes: 9 additions & 0 deletions .github/workflows/appengine-building-an-app-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,27 @@ on:
- cron: '0 0 * * 0'
jobs:
test:
permissions:
contents: 'read'
id-token: 'write'
if: github.event.action != 'labeled' || github.event.label.name == 'actions:force-run'
uses: ./.github/workflows/test.yaml
with:
name: 'appengine-building-an-app-build'
path: 'appengine/building-an-app/build'
remove_label:
permissions:
contents: 'read'
id-token: 'write'
if: |
github.event.action == 'labeled' &&
github.event.label.name == 'actions:force-run' &&
always()
uses: ./.github/workflows/remove-label.yaml
flakybot:
permissions:
contents: 'read'
id-token: 'write'
if: github.event_name == 'schedule' && always() # always() submits logs even if tests fail
uses: ./.github/workflows/flakybot.yaml
needs: [test]
9 changes: 9 additions & 0 deletions .github/workflows/appengine-building-an-app-update.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,27 @@ on:
- cron: '0 0 * * 0'
jobs:
test:
permissions:
contents: 'read'
id-token: 'write'
if: github.event.action != 'labeled' || github.event.label.name == 'actions:force-run'
uses: ./.github/workflows/test.yaml
with:
name: 'appengine-building-an-app-update'
path: 'appengine/building-an-app/update'
remove_label:
permissions:
contents: 'read'
id-token: 'write'
if: |
github.event.action == 'labeled' &&
github.event.label.name == 'actions:force-run' &&
always()
uses: ./.github/workflows/remove-label.yaml
flakybot:
permissions:
contents: 'read'
id-token: 'write'
if: github.event_name == 'schedule' && always() # always() submits logs even if tests fail
uses: ./.github/workflows/flakybot.yaml
needs: [test]
9 changes: 9 additions & 0 deletions .github/workflows/appengine-datastore.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,27 @@ on:
- cron: '0 0 * * 0'
jobs:
test:
permissions:
contents: 'read'
id-token: 'write'
if: github.event.action != 'labeled' || github.event.label.name == 'actions:force-run'
uses: ./.github/workflows/test.yaml
with:
name: 'appengine-datastore'
path: 'appengine/datastore'
remove_label:
permissions:
contents: 'read'
id-token: 'write'
if: |
github.event.action == 'labeled' &&
github.event.label.name == 'actions:force-run' &&
always()
uses: ./.github/workflows/remove-label.yaml
flakybot:
permissions:
contents: 'read'
id-token: 'write'
if: github.event_name == 'schedule' && always() # always() submits logs even if tests fail
uses: ./.github/workflows/flakybot.yaml
needs: [test]
9 changes: 9 additions & 0 deletions .github/workflows/appengine-endpoints.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,27 @@ on:
- cron: '0 0 * * 0'
jobs:
test:
permissions:
contents: 'read'
id-token: 'write'
if: github.event.action != 'labeled' || github.event.label.name == 'actions:force-run'
uses: ./.github/workflows/test.yaml
with:
name: 'appengine-endpoints'
path: 'appengine/endpoints'
remove_label:
permissions:
contents: 'read'
id-token: 'write'
if: |
github.event.action == 'labeled' &&
github.event.label.name == 'actions:force-run' &&
always()
uses: ./.github/workflows/remove-label.yaml
flakybot:
permissions:
contents: 'read'
id-token: 'write'
if: github.event_name == 'schedule' && always() # always() submits logs even if tests fail
uses: ./.github/workflows/flakybot.yaml
needs: [test]
9 changes: 9 additions & 0 deletions .github/workflows/appengine-hello-world-flexible.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,27 @@ on:
- cron: '0 0 * * 0'
jobs:
test:
permissions:
contents: 'read'
id-token: 'write'
if: github.event.action != 'labeled' || github.event.label.name == 'actions:force-run'
uses: ./.github/workflows/test.yaml
with:
name: 'appengine-hello-world-flexible'
path: 'appengine/hello-world/flexible'
remove_label:
permissions:
contents: 'read'
id-token: 'write'
if: |
github.event.action == 'labeled' &&
github.event.label.name == 'actions:force-run' &&
always()
uses: ./.github/workflows/remove-label.yaml
flakybot:
permissions:
contents: 'read'
id-token: 'write'
if: github.event_name == 'schedule' && always() # always() submits logs even if tests fail
uses: ./.github/workflows/flakybot.yaml
needs: [test]
9 changes: 9 additions & 0 deletions .github/workflows/appengine-hello-world-standard.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,27 @@ on:
- cron: '0 0 * * 0'
jobs:
test:
permissions:
contents: 'read'
id-token: 'write'
if: github.event.action != 'labeled' || github.event.label.name == 'actions:force-run'
uses: ./.github/workflows/test.yaml
with:
name: 'appengine-hello-world-standard'
path: 'appengine/hello-world/standard'
remove_label:
permissions:
contents: 'read'
id-token: 'write'
if: |
github.event.action == 'labeled' &&
github.event.label.name == 'actions:force-run' &&
always()
uses: ./.github/workflows/remove-label.yaml
flakybot:
permissions:
contents: 'read'
id-token: 'write'
if: github.event_name == 'schedule' && always() # always() submits logs even if tests fail
uses: ./.github/workflows/flakybot.yaml
needs: [test]
9 changes: 9 additions & 0 deletions .github/workflows/appengine-memcached.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,27 @@ on:
- cron: '0 0 * * 0'
jobs:
test:
permissions:
contents: 'read'
id-token: 'write'
if: github.event.action != 'labeled' || github.event.label.name == 'actions:force-run'
uses: ./.github/workflows/test.yaml
with:
name: 'appengine-memcached'
path: 'appengine/memcached'
remove_label:
permissions:
contents: 'read'
id-token: 'write'
if: |
github.event.action == 'labeled' &&
github.event.label.name == 'actions:force-run' &&
always()
uses: ./.github/workflows/remove-label.yaml
flakybot:
permissions:
contents: 'read'
id-token: 'write'
if: github.event_name == 'schedule' && always() # always() submits logs even if tests fail
uses: ./.github/workflows/flakybot.yaml
needs: [test]
9 changes: 9 additions & 0 deletions .github/workflows/appengine-metadata-flexible.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,27 @@ on:
- cron: '0 0 * * 0'
jobs:
test:
permissions:
contents: 'read'
id-token: 'write'
if: github.event.action != 'labeled' || github.event.label.name == 'actions:force-run'
uses: ./.github/workflows/test.yaml
with:
name: 'appengine-metadata-flexible'
path: 'appengine/metadata/flexible'
remove_label:
permissions:
contents: 'read'
id-token: 'write'
if: |
github.event.action == 'labeled' &&
github.event.label.name == 'actions:force-run' &&
always()
uses: ./.github/workflows/remove-label.yaml
flakybot:
permissions:
contents: 'read'
id-token: 'write'
if: github.event_name == 'schedule' && always() # always() submits logs even if tests fail
uses: ./.github/workflows/flakybot.yaml
needs: [test]
9 changes: 9 additions & 0 deletions .github/workflows/appengine-metadata-standard.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,27 @@ on:
- cron: '0 0 * * 0'
jobs:
test:
permissions:
contents: 'read'
id-token: 'write'
if: github.event.action != 'labeled' || github.event.label.name == 'actions:force-run'
uses: ./.github/workflows/test.yaml
with:
name: 'appengine-metadata-standard'
path: 'appengine/metadata/standard'
remove_label:
permissions:
contents: 'read'
id-token: 'write'
if: |
github.event.action == 'labeled' &&
github.event.label.name == 'actions:force-run' &&
always()
uses: ./.github/workflows/remove-label.yaml
flakybot:
permissions:
contents: 'read'
id-token: 'write'
if: github.event_name == 'schedule' && always() # always() submits logs even if tests fail
uses: ./.github/workflows/flakybot.yaml
needs: [test]
9 changes: 9 additions & 0 deletions .github/workflows/appengine-pubsub.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,27 @@ on:
- cron: '0 0 * * 0'
jobs:
test:
permissions:
contents: 'read'
id-token: 'write'
if: github.event.action != 'labeled' || github.event.label.name == 'actions:force-run'
uses: ./.github/workflows/test.yaml
with:
name: 'appengine-pubsub'
path: 'appengine/pubsub'
remove_label:
permissions:
contents: 'read'
id-token: 'write'
if: |
github.event.action == 'labeled' &&
github.event.label.name == 'actions:force-run' &&
always()
uses: ./.github/workflows/remove-label.yaml
flakybot:
permissions:
contents: 'read'
id-token: 'write'
if: github.event_name == 'schedule' && always() # always() submits logs even if tests fail
uses: ./.github/workflows/flakybot.yaml
needs: [test]
9 changes: 9 additions & 0 deletions .github/workflows/appengine-static-files.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,27 @@ on:
- cron: '0 0 * * 0'
jobs:
test:
permissions:
contents: 'read'
id-token: 'write'
if: github.event.action != 'labeled' || github.event.label.name == 'actions:force-run'
uses: ./.github/workflows/test.yaml
with:
name: 'appengine-static-files'
path: 'appengine/static-files'
remove_label:
permissions:
contents: 'read'
id-token: 'write'
if: |
github.event.action == 'labeled' &&
github.event.label.name == 'actions:force-run' &&
always()
uses: ./.github/workflows/remove-label.yaml
flakybot:
permissions:
contents: 'read'
id-token: 'write'
if: github.event_name == 'schedule' && always() # always() submits logs even if tests fail
uses: ./.github/workflows/flakybot.yaml
needs: [test]
9 changes: 9 additions & 0 deletions .github/workflows/appengine-storage-flexible.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,27 @@ on:
- cron: '0 0 * * 0'
jobs:
test:
permissions:
contents: 'read'
id-token: 'write'
if: github.event.action != 'labeled' || github.event.label.name == 'actions:force-run'
uses: ./.github/workflows/test.yaml
with:
name: 'appengine-storage-flexible'
path: 'appengine/storage/flexible'
remove_label:
permissions:
contents: 'read'
id-token: 'write'
if: |
github.event.action == 'labeled' &&
github.event.label.name == 'actions:force-run' &&
always()
uses: ./.github/workflows/remove-label.yaml
flakybot:
permissions:
contents: 'read'
id-token: 'write'
if: github.event_name == 'schedule' && always() # always() submits logs even if tests fail
uses: ./.github/workflows/flakybot.yaml
needs: [test]
9 changes: 9 additions & 0 deletions .github/workflows/appengine-storage-standard.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,27 @@ on:
- cron: '0 0 * * 0'
jobs:
test:
permissions:
contents: 'read'
id-token: 'write'
if: github.event.action != 'labeled' || github.event.label.name == 'actions:force-run'
uses: ./.github/workflows/test.yaml
with:
name: 'appengine-storage-standard'
path: 'appengine/storage/standard'
remove_label:
permissions:
contents: 'read'
id-token: 'write'
if: |
github.event.action == 'labeled' &&
github.event.label.name == 'actions:force-run' &&
always()
uses: ./.github/workflows/remove-label.yaml
flakybot:
permissions:
contents: 'read'
id-token: 'write'
if: github.event_name == 'schedule' && always() # always() submits logs even if tests fail
uses: ./.github/workflows/flakybot.yaml
needs: [test]
Loading

0 comments on commit 57c4d51

Please sign in to comment.