-
Notifications
You must be signed in to change notification settings - Fork 278
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
TL;DR
Using retry options give warnings about the options being deprecated, but there is no mention of this in the README.
Expected behavior
Either the options should not give warnings, or the deprecation should be mentioned in the README. Ideally, the docs should be accompanied by a suggested alternate solution, because retry functionality is useful. Authentication using Workload Identity Federation sometimes fail spuriously* (which then succeeds when the workflow is rerun), so decreasing this probability with retries is a useful feature.
*= We did not see these spurious failures when authenticating with static JSON keys (which we did previously), but using static JSON keys is no longer the recommended authentication method.
Observed behavior
No response
Action YAML
- name: Authenticate to Google Cloud
uses: google-github-actions/auth@v2
with:
workload_identity_provider: "${{ vars.WIF_PROVIDER }}"
service_account: "${{ vars.WIF_SERVICE_ACCOUNT }}"
retries: 5
backoff: 1000Log output
Warning: Input 'retries' has been deprecated with message: This field is no longer used and will be removed in a future release.
Warning: Input 'backoff' has been deprecated with message: This field is no longer used and will be removed in a future release.
Additional information
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working