-
Notifications
You must be signed in to change notification settings - Fork 2k
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
gh-actions: move actions/checkout to main #18730
Conversation
Murdock results✔️ PASSED ecf760d gh-actions: move actions/checkout to main
ArtifactsThis only reflects a subset of all builds from https://ci-prod.riot-os.org. Please refer to https://ci.riot-os.org for a complete build for now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://github.com/actions/checkout seems to use main
for its main
branch master
is lacking behind
.github/workflows/release-test.yml
Outdated
@@ -88,14 +88,14 @@ jobs: | |||
ssh -oStrictHostKeyChecking=accept-new \ | |||
${IOTLAB_USER}@lille.iot-lab.info exit | |||
- name: Checkout Release-Specs | |||
uses: actions/checkout@v2 | |||
uses: actions/checkout@master |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would this work without adding a version (default to Head)?
uses: actions/checkout@master | |
uses: actions/checkout |
seems like github advices against using branches or no version (but the advice sound like no @ would result in HEAD)
or
uses: actions/checkout@master | |
uses: actions/checkout@main |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
They got a job that auto updates main to the latest tag https://github.com/actions/checkout/blob/main/.github/workflows/update-main-version.yml
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed to main, even the once where we already used master
b537a41
to
ecf760d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Even though Github advises softly against using braches for action versions here This seems save at the time of review. As mentioned pr description we did this for some workflows.
Contribution description
Github is complaining about deprecation of Node.js 12 deprecation in our Github Actions (one example can be found here: https://github.com/RIOT-OS/RIOT/actions/runs/3235426917) this is due to us using an outdated version of the actions/checkout Action. This bumps all of them to follow the master branch (as some already do, e.g. tools-buildtests).
Testing procedure
See if the Node.js deprecation warning disappears.
Issues/PRs references
None