Skip to content
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

fix(renovate): fix action versions, add more triggers #249

Merged
merged 1 commit into from
Sep 19, 2024

Conversation

iainlane
Copy link
Member

@iainlane iainlane commented Sep 19, 2024

When referencing actions, we'll do:

uses: foo/bar-action@123456789 # v1.2.3

to reference by SHA but still say what the version was. Dependabot supports updating these comments when creating bumps, but Renovate doesn't do this when the comment points to the wrong version.

We had two cases of that in codeql-action and vault-action. Here we fix both.

Also, it's easier to test if we can kick off runs manually and if Renovate triggers when its config or workflow are changed, so add triggers for that.

@iainlane iainlane requested a review from a team as a code owner September 19, 2024 09:14
@iainlane iainlane changed the title fix(renovate): use helper to update github action comments, add more triggers fix(renovate): fix action versions, add more triggers Sep 19, 2024
@iainlane iainlane force-pushed the iainlane/renovate-gha-semver branch 5 times, most recently from 2e6f23a to 693491e Compare September 19, 2024 09:59
When referencing actions, we'll do:

```yaml
uses: foo/bar-action@123456789 # v1.2.3
```

to reference by SHA but still say what the version was. Dependabot
supports updating these comments when creating bumps, but Renovate
doesn't do this when the comment points to the wrong version.

We had two cases of that in `codeql-action` and `vault-action`. Here we
fix both.

Also, it's easier to test if we can kick off runs manually and if
Renovate triggers when its config or workflow are changed, so add
triggers for that.

[preset]: https://docs.renovatebot.com/presets-helpers/#helperspingithubactiondigeststosemver
@iainlane
Copy link
Member Author

@dsotirakis can you check again please? what I thought initially was wrong, and really it was that some of the version comments were incorrect!

@iainlane iainlane added this pull request to the merge queue Sep 19, 2024
Merged via the queue into main with commit 3b1e65f Sep 19, 2024
12 checks passed
@iainlane iainlane deleted the iainlane/renovate-gha-semver branch September 19, 2024 11:33
@iainlane
Copy link
Member Author

oh what sorry, I thought that would not merge until you had re-reviewed 😢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants