-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
frizbee fails to pin the version of ruby/setup-ruby #175
Comments
hey, @Moisan, thanks for raising this issue. I can confirm that I tried the steps you provided and I was able to reproduce it locally 👍 |
The issue is that This is configurable, e.g. with a config like this:
stored in
I am not sure if dependabot would update the action though, this needs some more testing. |
The other option would be to modify the workflow to use a tag in the first place:
then frizbee should be able to pin the action and put the magic comment in that helps dependabot to upgrade the action. |
I see, I didn't know that this action was using a branch instead of a tag. I think frisbee warning about that would be useful. Also note that I was using frizbee from the command line, not trough the action. |
We used to ignore all actions that were referenced with a branch, but this is not really intuitive. Let's only ignore main and master. Relates: stacklok#175
@Moisan we merged a commit that would only avoid pinning actions that reference |
Thank you!
Yes that would also be very useful. |
Hey @Moisan I just wanted to check if this still relevant or if the solution provided is sufficient. Regarding the additional behavior of skipping and reporting it to the user, we would love to look into a PR if you're interested to contributing. |
Describe the issue
frizbee fails to pin the version of the
ruby/setup-ruby
action when the version issetup-ruby@v1
.To Reproduce
wget https://raw.githubusercontent.com/Homebrew/ci-orchestrator/e791dc96262bfd324d1e5238f428e68d2ef7ecca/.github/workflows/main.yml
frizbee actions main.yml
Note that no update is done to
setup-ruby
. I would expect to see a change fromsetup-ruby@v1
to something likeWhat version are you using?
0.0.20
The text was updated successfully, but these errors were encountered: