[CI:DOCS] Use checkout@v4 in GH Actions

This change will minimize renovate PR's.
Checkout is an action maintained by GitHub, so using the latest v4 action shouldn't have stability consequences.

Signed-off-by: Ashley Cui <acui@redhat.com>
This commit is contained in:
Ashley Cui
2024-05-13 10:31:51 -04:00
parent 0c09421f85
commit 07ed2ddb93
5 changed files with 5 additions and 5 deletions

View File

@ -44,7 +44,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
# This is where the scripts live # This is where the scripts live
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 - uses: actions/checkout@v4
with: with:
repository: containers/podman repository: containers/podman
ref: 'main' ref: 'main'

View File

@ -98,7 +98,7 @@ jobs:
steps.check.outputs.buildarm == 'true' || steps.check.outputs.buildarm == 'true' ||
steps.check.outputs.builduniversal == 'true' || steps.check.outputs.builduniversal == 'true' ||
steps.actual_dryrun.outputs.dryrun == 'true' steps.actual_dryrun.outputs.dryrun == 'true'
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 uses: actions/checkout@v4
with: with:
ref: ${{steps.getversion.outputs.version}} ref: ${{steps.getversion.outputs.version}}
- name: Set up Go - name: Set up Go

View File

@ -83,7 +83,7 @@ jobs:
if: >- if: >-
steps.check.outputs.buildartifacts == 'true' || steps.check.outputs.buildartifacts == 'true' ||
steps.actual_dryrun.outputs.dryrun == 'true' steps.actual_dryrun.outputs.dryrun == 'true'
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 uses: actions/checkout@v4
with: with:
repository: containers/podman repository: containers/podman
ref: ${{steps.getversion.outputs.version}} ref: ${{steps.getversion.outputs.version}}

View File

@ -42,7 +42,7 @@ jobs:
cron_rerun: cron_rerun:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 - uses: actions/checkout@v4
with: with:
# All scripts used by this workflow live in podman repo. # All scripts used by this workflow live in podman repo.
repository: "containers/podman" repository: "containers/podman"

View File

@ -53,7 +53,7 @@ jobs:
# Note this purposefully checks out the same branch the action runs in, as the # Note this purposefully checks out the same branch the action runs in, as the
# installer build script is designed to support older releases (uses the archives # installer build script is designed to support older releases (uses the archives
# on the release tag). # on the release tag).
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 - uses: actions/checkout@v4
# This step is super-duper critical for the built/signed windows installer .exe file. # This step is super-duper critical for the built/signed windows installer .exe file.
# It ensures the referenced $version github release page does NOT already contain # It ensures the referenced $version github release page does NOT already contain
# this file. Windows assigns a UUID to the installer at build time, it's assumed # this file. Windows assigns a UUID to the installer at build time, it's assumed