-
Notifications
You must be signed in to change notification settings - Fork 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
Local actions in .github/actions/ are not checked #6345
Comments
Hei @benoitchantre! Did you find |
Yes, the location I choosed was influenced by the documentation.
|
Moving comment from:
The change to add support for scanning dependabot-core/github_actions/lib/dependabot/github_actions/file_fetcher.rb Lines 48 to 67 in 0997935
|
I guess just |
Any update on this? The workaround is particularly annoying because it seems using a glob doesn't work:
|
The problem is that the actions schema is different enough from the workflows ones. They share a lot of similarities but they are not compatible. The code needs to be able to read and update both. |
I don't think this is the problem of this issue. This issue is about needing to be explicit about local action paths. If the problem was a schema issue, then it shouldn't work to check local actions at all, regardless of how they are specified (which was #4327). |
There is a work around as described above. Here is an example of where it is used: https://github.com/streetsidesoftware/cspell-dicts/blob/main/.github/workflows/update-dependabot.yml |
Is there an existing issue for this?
Package ecosystem
github-actions
Package manager version
No response
Language version
No response
Manifest location and content before the Dependabot update
No response
dependabot.yml content
version: 2
updates:
directory: "/"
schedule:
interval: "weekly"
Updated dependency
No response
What you expected to see, versus what you actually saw
When directory is set to
"/"
, I expect that local actions located in.github/actions/
are also checked.This is not the case.
You need to add a new item in the config file to allow Dependabot to check a specific action
Native package manager behavior
No response
Images of the diff or a link to the PR, issue, or logs
No response
Smallest manifest that reproduces the issue
No response
The text was updated successfully, but these errors were encountered: