act-now-coalition / can-scrapers

MIT License
9 stars 13 forks source link

Fix deploy airflow workflow. #423

Closed mikelehen closed 2 years ago

mikelehen commented 2 years ago

The last two deploy airflow jobs failed with:

Error: On 2022-04-05, the default branch will be renamed from "master" to "main". Your action is currently pinned to "@master". Even though GitHub creates redirects for renamed branches, testing found that this rename breaks existing GitHub Actions workflows that are pinned to the old branch name.

We strongly advise updating your GitHub Action YAML from:

uses: 'google-github-actions/setup-gcloud@master'

to:

uses: 'google-github-actions/setup-gcloud@v0'

So this updates it with the fix. Successful run here

mikelehen commented 2 years ago

Oh, haha. I just assumed this was misnamed but still doing something useful for prefect. I guess not. Merged for now, but yeah, we should delete it when we get a chance then.

And +1 to figuring out how to make the tests more useful.