Skip to content

[skip changelog] Configure Dependabot to check for outdated actions used in workflows #1373

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

Merged
merged 1 commit into from
Aug 5, 2021
Merged

[skip changelog] Configure Dependabot to check for outdated actions used in workflows #1373

merged 1 commit into from
Aug 5, 2021

Conversation

per1234
Copy link
Contributor

@per1234 per1234 commented Aug 5, 2021

Please check if the PR fulfills these requirements

  • The PR has no duplicates (please search among the Pull Requests
    before creating one)
  • The PR follows
    our contributing guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • UPGRADING.md has been updated with a migration guide (for breaking changes)
  • What kind of change does this PR introduce?

Infrastructure enhancement

  • What is the current behavior?

Management of the actions dependencies of the repository's GitHub Actions workflows is done manually. Outdated action versions will only be discovered if a review is done by a maintainer, which is not likely to happen often. The workflows do follow the practice of using the major version ref of the action whenever one is provided, which means that the latest version of the action is used up until such time as there is a major version bump. But after that the workflow will be using an outdated action.

  • What is the new behavior?

Dependabot will periodically check the versions of all actions used in the repository's workflows. If any are found to
be outdated, it will submit a pull request to update them.

NOTE: Dependabot's PRs will occasionally propose to pin to the patch version of the action (e.g., updating
uses: foo/bar@v1 to uses: foo/[email protected]). When the action author has provided a major version ref, use that instead
(e.g., uses: foo/bar@v2). Dependabot will automatically close its PR once the workflow has been updated.

More information:
https://docs.github.com/en/github/administering-a-repository/keeping-your-actions-up-to-date-with-dependabot

No breakie

  • Other information:

See how to contribute

…sed in workflows

Dependabot will periodically check the versions of all actions used in the repository's workflows. If any are found to
be outdated, it will submit a pull request to update them.

NOTE: Dependabot's PRs will occasionally propose to pin to the patch version of the action (e.g., updating
`uses: foo/bar@v1` to `uses: foo/[email protected]`). When the action author has provided a major version ref, use that instead
(e.g., `uses: foo/bar@v2`). Dependabot will automatically close its PR once the workflow has been updated.

More information:
https://docs.github.com/en/github/administering-a-repository/keeping-your-actions-up-to-date-with-dependabot
@per1234 per1234 added type: enhancement Proposed improvement topic: infrastructure Related to project infrastructure labels Aug 5, 2021
@per1234 per1234 requested review from silvanocerza and rsora August 5, 2021 06:02
@per1234 per1234 merged commit 92a4c3a into arduino:master Aug 5, 2021
@per1234 per1234 deleted the github-actions-dependabot branch August 5, 2021 08:30
@per1234 per1234 self-assigned this Nov 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: infrastructure Related to project infrastructure type: enhancement Proposed improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants