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

Automatically update GitHub Actions dependencies with dependabot #3133

Merged
merged 1 commit into from
Aug 10, 2023

Conversation

peternied
Copy link
Member

Description

Automatically update GitHub Actions dependencies with dependabot. Noticed this was possible when I was reading the notice around CodeQL's v1 deprecation, [codeql-action-v1-is-now-deprecated].

Check List

  • New functionality includes testing
  • New functionality has been documented
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@@ -10,3 +10,9 @@ updates:
# For all packages, ignore all major versions to minimize breaking issues
- dependency-name: "*"
update-types: ["version-update:semver-major"]
- package-ecosystem: "github-actions"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not include version-update:semver-major like was recently added onto gradle dependencies?

We have fewer (I think?) dependencies in GitHub Actions and I'd like to try it before I see lots of churn. Easy to make this change as a fast follow if there is concern.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think for Github actions the update to major is not as breaking as for main codebase, most do major anyway (fe codeql v1 -> v2, checkout v2 -> v3, ...)

Signed-off-by: Peter Nied <petern@amazon.com>
@codecov
Copy link

codecov bot commented Aug 8, 2023

Codecov Report

Merging #3133 (b265d96) into main (7219feb) will decrease coverage by 0.04%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##               main    #3133      +/-   ##
============================================
- Coverage     62.46%   62.43%   -0.04%     
+ Complexity     3354     3350       -4     
============================================
  Files           254      254              
  Lines         19749    19749              
  Branches       3334     3334              
============================================
- Hits          12336    12330       -6     
- Misses         5783     5789       +6     
  Partials       1630     1630              

see 2 files with indirect coverage changes

@peternied peternied merged commit f70931b into opensearch-project:main Aug 10, 2023
54 of 55 checks passed
@peternied peternied deleted the auto-update-gha branch August 10, 2023 17:25
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.

4 participants