summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorDan Mick <dmick@redhat.com>2024-02-29 20:36:51 +0100
committerDan Mick <dmick@redhat.com>2024-03-01 22:26:36 +0100
commit4a1d6122eb00f5af851ad2e7d58d32a982a31fe3 (patch)
treed3418decc9027b0f85bfb9ffdd29bc253db975bf /.github
parentMerge pull request #55594 from ifed01/wip-ifed-fix-64443 (diff)
downloadceph-4a1d6122eb00f5af851ad2e7d58d32a982a31fe3.tar.xz
ceph-4a1d6122eb00f5af851ad2e7d58d32a982a31fe3.zip
.github/workflows/create-backport-trackers.yml: update versions of actions
Getting warning about node16 being deprecated. The workflow doesn't use node directly, but through the external actions. Moving to node20 requires changing setup-python version; Bhacaz/checkout-files is deprecated and recommends actions/checkout. Signed-off-by: Dan Mick <dmick@redhat.com>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/create-backport-trackers.yml9
1 files changed, 6 insertions, 3 deletions
diff --git a/.github/workflows/create-backport-trackers.yml b/.github/workflows/create-backport-trackers.yml
index fe05d09b0ec..1f358ab5e27 100644
--- a/.github/workflows/create-backport-trackers.yml
+++ b/.github/workflows/create-backport-trackers.yml
@@ -36,10 +36,13 @@ jobs:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
steps:
- - uses: Bhacaz/checkout-files@e3e34e7daef91a5f237485bb88a260aee4be29dd
+ - uses: actions/checkout@v4
with:
- files: src/script/backport-create-issue src/script/requirements.backport-create-issue.txt
- - uses: actions/setup-python@v4
+ sparse-checkout: |
+ src/script/backport-create-issue
+ src/script/requirements.backport-create-issue.txt
+ sparse-checkout-cone-mode: false
+ - uses: actions/setup-python@v5
with:
python-version: '>=3.6 <3.12'
cache: 'pip'