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

Dependabot not finding outdated actions outside of workflows #344

Open
8 tasks
steveoh opened this issue Oct 28, 2024 · 0 comments
Open
8 tasks

Dependabot not finding outdated actions outside of workflows #344

steveoh opened this issue Oct 28, 2024 · 0 comments

Comments

@steveoh
Copy link
Member

steveoh commented Oct 28, 2024

Custom actions outside the .gitbub/workflows directory are not being seen by dependabots current configuration:

updates:
  - package-ecosystem: github-actions
    directory: /
    target-branch: staging
    schedule:
      interval: monthly
    groups:
      ci-dependencies:
        dependency-type: 'production'

The warnings are in the annotations of some action runs yet we haven't seen a dbot pr for them. These custom actions, typically found in .github/actions, are used in a few other repositories and this fix should ripple through those repos.

  • agrc/deq-eid-skid
  • agrc/gcp-terraform
  • agrc/project-moonwalk
  • agrc/nfhl-skid
  • agrc/porter
  • agrc/wmrc-skid

A couple ideas to try could be

  • Moving the .github/actions folder to be a sibling of .github/workflows to determine if dependabot is only searching in the .github/workflows directory by convention.

  • Migrate the directory prop to directories adding the custom location.

     updates:
       - package-ecosystem: github-actions
         directories: 
           - /
           - .github/actions
         target-branch: staging
         schedule:
           interval: monthly
         groups:
           ci-dependencies:
             dependency-type: 'production'
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

No branches or pull requests

1 participant