mirror of
https://github.com/ceph/ceph
synced 2026-08-02 07:03:18 +00:00
.github/workflows: bump checkout action version
Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
This commit is contained in:
parent
901aad681f
commit
841baf903e
@ -38,7 +38,7 @@ jobs:
|
||||
# Backport checks need to be run ONLY on the main branch on ceph/ceph (not forks)
|
||||
if: github.ref == 'refs/heads/main' && github.repository == 'ceph/ceph'
|
||||
steps:
|
||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
with:
|
||||
sparse-checkout: |
|
||||
src/script/backport-create-issue
|
||||
|
||||
2
.github/workflows/diff-ceph-config.yml
vendored
2
.github/workflows/diff-ceph-config.yml
vendored
@ -25,7 +25,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout main branch for pull_request_target
|
||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
with:
|
||||
ref: 'refs/heads/main'
|
||||
path: ceph
|
||||
|
||||
4
.github/workflows/qa-symlink.yml
vendored
4
.github/workflows/qa-symlink.yml
vendored
@ -22,7 +22,7 @@ jobs:
|
||||
if: github.repository == 'ceph/ceph'
|
||||
steps:
|
||||
- name: Checkout verify-qa script from main branch
|
||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
with:
|
||||
ref: 'refs/heads/main'
|
||||
path: main
|
||||
@ -31,7 +31,7 @@ jobs:
|
||||
sparse-checkout-cone-mode: false
|
||||
|
||||
- name: Checkout PR HEAD
|
||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
with:
|
||||
ref: ${{ github.event.pull_request.head.sha }}
|
||||
path: pull_request
|
||||
|
||||
4
.github/workflows/redmine-upkeep.yml
vendored
4
.github/workflows/redmine-upkeep.yml
vendored
@ -41,7 +41,7 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout main branch for pull_request_target
|
||||
if: github.event_name == 'pull_request_target'
|
||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
with:
|
||||
ref: 'refs/heads/main'
|
||||
path: 'ceph'
|
||||
@ -49,7 +49,7 @@ jobs:
|
||||
|
||||
- name: Checkout default branch for other events
|
||||
if: github.event_name != 'pull_request_target'
|
||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
with:
|
||||
path: 'ceph'
|
||||
fetch-depth: 0
|
||||
|
||||
Loading…
Reference in New Issue
Block a user