Hi!
Our pipelines broke because of this change, we assume is just switching from master
to main
. However, we wanted to ask if this change is final? And why release this change 2 days before Christmas? :(
This broke all our pipelines and really didn't wanted to update everything given the holidays. Perhaps there's an easy fix we can apply instead of revisiting all of them? Thanks in advance!
To setup the action as normally.
The branch name has changed from master
to main
so it can't be loaded.
- name: Set GCP service account
uses: google-github-actions/[email protected]
with:
service_account_key: ${{ secrets.GCP_SA_KEY }}
export_default_credentials: true
### Additional information
This change impacts all our workflows (90+), if this change is a must, we can do it, but just to corroborate with you guys that it is indeed the expected approach.
According to https://github.blog/changelog/2020-07-22-github-actions-better-support-for-alternative-default-branch-names/, the rename should have been a non-breaking change. We'll revert this.
This change also just broke our pipeline with the error:
Error: Unable to resolve action `google-github-actions/[email protected]`, unable to find version `master`
We fixed it by changing the branch to main
.
@fatih we just reverted the change back to master
to prevent existing workflows from breaking. We recommend pinning to @v0
or a specific tag version, but we also didn't intend to introduce a breaking change with this. GitHub claimed renaming the branch would automatically handle redirects, but that appears to be inaccurate
Thank you very much @sethvargo! We'll wait for the revert; we were also aware of redirects and sorry for the inaccurate title.
@humbertowoody the revert is done. I would recommend scheduling time in the new year to either:
Pin to a specific version (@v0.3.0
) or a floating pointer (@v0
).
Switch to google-github-actions/auth
if you're just performing authentication and not actually using the gcloud
CLI.
Owner Name | google-github-actions |
Repo Name | setup-gcloud |
Full Name | google-github-actions/setup-gcloud |
Language | TypeScript |
Created Date | 2019-11-05 |
Updated Date | 2023-03-23 |
Star Count | 1505 |
Watcher Count | 65 |
Fork Count | 548 |
Issue Count | 11 |
Issue Title | Created Date | Updated Date |
---|