mirror of
https://github.com/apple/swift-nio
synced 2026-11-25 04:47:49 +00:00
Update the actions/checkout action to the latest release (v6.0.1) ### Motivation: https://github.com/actions/checkout?tab=readme-ov-file#whats-new > * Improved credential security: persist-credentials now stores credentials in a separate file under $RUNNER_TEMP instead of directly in .git/config > * No workflow changes required — git fetch, git push, etc. continue to work automatically > * Running authenticated git commands from a [Docker container action](https://docs.github.com/actions/sharing-automations/creating-actions/creating-a-docker-container-action) requires Actions Runner [v2.329.0](https://github.com/actions/runner/releases/tag/v2.329.0) or later > * Updated to the node24 runtime This requires a minimum Actions Runner version of [v2.327.1](https://github.com/actions/runner/releases/tag/v2.327.1) to run. ### Modifications: Updated the dependency version and added dependabot to take care of future upgrades. ### Result: Our workflows will be more secure!
22 lines
604 B
YAML
22 lines
604 B
YAML
name: PR label
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
on:
|
|
pull_request:
|
|
types: [labeled, unlabeled, opened, reopened, synchronize]
|
|
|
|
jobs:
|
|
semver-label-check:
|
|
name: Semantic version label check
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 1
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
|
with:
|
|
persist-credentials: false
|
|
- name: Check for Semantic Version label
|
|
uses: ./.github/actions/pull_request_semver_label_checker/
|