Skip to content

Commit 264e9e5

Browse files
authored
Merge pull request #301 from AkashKumar7902/issue-163-checkout-ref-cleanup
Remove stale checkout workaround comments
2 parents ec2a952 + 3403a8d commit 264e9e5

6 files changed

Lines changed: 12 additions & 6 deletions

.github/workflows/reusable-release-policy-assemblyscript.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ jobs:
2222
uses: kubewarden/github-actions/policy-gh-action-dependencies@9e24f3e522b32b838e1f066bd42995a438212e1d
2323
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2424
with:
25-
# until https://github.com/actions/checkout/pull/579 is released
2625
fetch-depth: 0
26+
persist-credentials: false
2727
- id: calculate-version
2828
shell: bash
2929
run: |
@@ -56,6 +56,9 @@ jobs:
5656
with:
5757
node-version: "${{ env.NODE_VERSION }}"
5858
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
59+
with:
60+
fetch-depth: 0
61+
persist-credentials: false
5962
- name: Install npm
6063
run: npm install
6164
- name: Install npm dependencies

.github/workflows/reusable-release-policy-go-wasi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ jobs:
2020
uses: kubewarden/github-actions/policy-gh-action-dependencies@9e24f3e522b32b838e1f066bd42995a438212e1d
2121
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2222
with:
23-
# until https://github.com/actions/checkout/pull/579 is released
2423
fetch-depth: 0
24+
persist-credentials: false
2525
- id: calculate-version
2626
shell: bash
2727
run: |

.github/workflows/reusable-release-policy-go.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ jobs:
2020
uses: kubewarden/github-actions/policy-gh-action-dependencies@9e24f3e522b32b838e1f066bd42995a438212e1d
2121
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2222
with:
23-
# until https://github.com/actions/checkout/pull/579 is released
2423
fetch-depth: 0
24+
persist-credentials: false
2525
- id: calculate-version
2626
shell: bash
2727
run: |

.github/workflows/reusable-release-policy-rego.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ jobs:
3232
uses: kubewarden/github-actions/policy-gh-action-dependencies@9e24f3e522b32b838e1f066bd42995a438212e1d
3333
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3434
with:
35-
# until https://github.com/actions/checkout/pull/579 is released
3635
fetch-depth: 0
36+
persist-credentials: false
3737
- id: calculate-version
3838
shell: bash
3939
run: |
@@ -71,6 +71,9 @@ jobs:
7171
- name: Install opa
7272
uses: kubewarden/github-actions/opa-installer@9e24f3e522b32b838e1f066bd42995a438212e1d
7373
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
74+
with:
75+
fetch-depth: 0
76+
persist-credentials: false
7477
- name: Build policy
7578
working-directory: ${{ inputs.policy-working-dir }}
7679
shell: bash

.github/workflows/reusable-release-policy-rust.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ jobs:
2020
uses: kubewarden/github-actions/policy-gh-action-dependencies@9e24f3e522b32b838e1f066bd42995a438212e1d
2121
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2222
with:
23-
# until https://github.com/actions/checkout/pull/579 is released
2423
fetch-depth: 0
24+
persist-credentials: false
2525
- id: calculate-version
2626
shell: bash
2727
run: |

.github/workflows/reusable-release-policy-swift.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ jobs:
2020
uses: kubewarden/github-actions/policy-gh-action-dependencies@9e24f3e522b32b838e1f066bd42995a438212e1d
2121
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2222
with:
23-
# until https://github.com/actions/checkout/pull/579 is released
2423
fetch-depth: 0
24+
persist-credentials: false
2525
- id: calculate-version
2626
shell: bash
2727
run: |

0 commit comments

Comments
 (0)