mirror of
https://github.com/containers/podman.git
synced 2025-07-15 03:02:52 +08:00
GHA: Use version instead of SHA for actions
It's nearly impossible for humans to tell semantic-version differences by looking at a commit sha. Since all the actions in question come from github, there's little security/safety benefit to using SHAs. Signed-off-by: Chris Evich <cevich@redhat.com>
This commit is contained in:
2
.github/workflows/issue-labeler.yml
vendored
2
.github/workflows/issue-labeler.yml
vendored
@ -13,7 +13,7 @@ jobs:
|
|||||||
issues: write # for github/issue-labeler to create or remove labels
|
issues: write # for github/issue-labeler to create or remove labels
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: github/issue-labeler@de16e742018d174ccf61d287f6ed31eb48faa64f # v2.6
|
- uses: github/issue-labeler@v3.1
|
||||||
with:
|
with:
|
||||||
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
configuration-path: .github/issue-labeler.yml
|
configuration-path: .github/issue-labeler.yml
|
||||||
|
2
.github/workflows/rerun_cirrus_cron.yml
vendored
2
.github/workflows/rerun_cirrus_cron.yml
vendored
@ -59,7 +59,7 @@ jobs:
|
|||||||
SECRET_CIRRUS_API_KEY: ${{ secrets.SECRET_CIRRUS_API_KEY }}
|
SECRET_CIRRUS_API_KEY: ${{ secrets.SECRET_CIRRUS_API_KEY }}
|
||||||
run: './.github/actions/check_cirrus_cron/rerun_failed_tasks.sh'
|
run: './.github/actions/check_cirrus_cron/rerun_failed_tasks.sh'
|
||||||
|
|
||||||
- uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: ${{ github.job }}_artifacts
|
name: ${{ github.job }}_artifacts
|
||||||
path: artifacts/*
|
path: artifacts/*
|
||||||
|
2
.github/workflows/stale.yml
vendored
2
.github/workflows/stale.yml
vendored
@ -19,7 +19,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/stale@1160a2240286f5da8ec72b1c0816ce2481aabf84 # v8
|
- uses: actions/stale@v8
|
||||||
with:
|
with:
|
||||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
stale-issue-message: 'A friendly reminder that this issue had no activity for 30 days.'
|
stale-issue-message: 'A friendly reminder that this issue had no activity for 30 days.'
|
||||||
|
Reference in New Issue
Block a user