-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Update container
image references in GitHub Action workflows
#5819
Comments
This may be what #2307 is trying to get at, although that code seems slightly different since it's looking for the For now, adding new ecosystems / new places to search for updates is on pause... we hope to have a better story there in the not too distant future, but we're just not ready to provide the level of support required for a new ecosystem. |
That's an alternate syntax, applies to the |
Looks like I could use Renovate instead, they recently released support for this, renovatebot/renovate#16770 |
Thanks for clarifying and including the docs links. Glad Renovate can help you get unblocked... hopefully in the not-too-distant future we can support this here as well. |
I have the same need, https://github.com/ansible-community/ansible-lint-action/blob/main/action.yml#L26 does not update by itself. |
container
image references in GitHub Action workflows
Is there any update on this feature-request? |
👋 For similar YAML formats, a weird workaround for this is to add: apiVersion: lol
kind: trollololol That will trick Dependabot into thinking the file is a Kubernetes resource - so it will find and manage any Per @franzliedke 👇 - this hack won't work for Actions because it violates Actions' schema. An idea for this feature, you could align the conditions in the FileFetcher with those in the FileParser. My ideal would be any |
@thepwagner Can you explain how to apply that hack without triggering the GitHub workflow validation? 🤔 |
@franzliedke sorry I hadn't tested it specifically for Actions. I left the comment here because:
I'll update to remove the lie - thanks for testing it! 🧪 . |
FYI the Another limitation of So I hope dependabot will consider supporting the |
You can set |
Is there an existing issue for this?
Feature description
I've used Dependabot to update the FROM argument in a Dockerfile, but now I'm starting to use images directly in GitHub Actions, which does not use a Dockerfile. I would still like Dependabot to update the image reference in the workflow file though. Is there a way to do this today? (I did search the docs and issues but couldn't find anything.)
See: https://docs.github.com/en/actions/using-jobs/running-jobs-in-a-container
Syntax in the workflow files looks like this:
The text was updated successfully, but these errors were encountered: