Skip to content
This repository has been archived by the owner on Aug 19, 2023. It is now read-only.

Commit

Permalink
Add Dependabot config to autoupdate GitHub action versions (#1764)
Browse files Browse the repository at this point in the history
<!--
⚠️ If you do not respect this template, your pull request will be
closed.
⚠️ Your pull request title should be short detailed and understandable
for all.
⚠️ Also, please add it in the CHANGELOG file under Unreleased section.
⚠️ If your pull request fixes an open issue, please link to the issue.

✅ I have added the tests to cover my changes.
✅ I have updated the documentation accordingly.
✅ I have read the CONTRIBUTING document.
-->

### Summary

I noticed that GitHub workflows were throwing deprecation warnings due
to out-of-date action versions [[recent
example](https://github.com/Qiskit/qiskit-metapackage/actions/runs/5259141945)].

Rather than updating the versions manually this one time, this PR
introduces a Dependabot config that will trigger ongoing updates via PRs
created by Dependabot.

### Details and comments

If this merges, you can expect additional PRs shortly after from
Dependabot, for example, to update `actions/setup-python@v2` to v4.

I looked for a CHANGELOG file as mentioned in the PR template comments
but couldn't find one. I also searched for an "Unreleased" section in
all files but couldn't find one. Although this PR doesn't touch code,
please let me know how to comply with the requirements.

I read the CONTRIBUTING document and anticipate that I'll need to sign
the CLA after opening this PR.

---------

Signed-off-by: Kurt McKee <[email protected]>
Co-authored-by: Eric Arellano <[email protected]>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
  • Loading branch information
3 people authored Jul 24, 2023
1 parent 888fa5c commit bb1c604
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"

0 comments on commit bb1c604

Please sign in to comment.