mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-27 07:48:55 +00:00
actions: Pin to a particular sha for actions
Since actions can access the github token, lets use a
particular version of sha rather than using master.
Fixes: #437
Signed-off-by: Archana Shinde <archana.m.shinde@intel.com>
(cherry picked from commit 57b64f35e0
)
This commit is contained in:
parent
8564c99eae
commit
33b1865e6e
2
.github/workflows/PR-wip-checks.yaml
vendored
2
.github/workflows/PR-wip-checks.yaml
vendored
@ -15,7 +15,7 @@ jobs:
|
|||||||
name: WIP Check
|
name: WIP Check
|
||||||
steps:
|
steps:
|
||||||
- name: WIP Check
|
- name: WIP Check
|
||||||
uses: tim-actions/wip-check@master
|
uses: tim-actions/wip-check@1c2a1ca6c110026b3e2297bb2ef39e1747b5a755
|
||||||
with:
|
with:
|
||||||
labels: '["do-not-merge", "wip", "rfc"]'
|
labels: '["do-not-merge", "wip", "rfc"]'
|
||||||
keywords: '["WIP", "wip", "RFC", "rfc", "dnm", "DNM", "do-not-merge"]'
|
keywords: '["WIP", "wip", "RFC", "rfc", "dnm", "DNM", "do-not-merge"]'
|
||||||
|
4
.github/workflows/dco-check.yaml
vendored
4
.github/workflows/dco-check.yaml
vendored
@ -13,10 +13,10 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Get PR Commits
|
- name: Get PR Commits
|
||||||
id: 'get-pr-commits'
|
id: 'get-pr-commits'
|
||||||
uses: tim-actions/get-pr-commits@master
|
uses: tim-actions/get-pr-commits@ed97a21c3f83c3417e67a4733ea76887293a2c8f
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: DCO Check
|
- name: DCO Check
|
||||||
uses: tim-actions/dco@master
|
uses: tim-actions/dco@2fd0504dc0d27b33f542867c300c60840c6dcb20
|
||||||
with:
|
with:
|
||||||
commits: ${{ steps.get-pr-commits.outputs.commits }}
|
commits: ${{ steps.get-pr-commits.outputs.commits }}
|
||||||
|
Loading…
Reference in New Issue
Block a user