Skip to content

Commit 0c8cbb2

Browse files
committed
update GitHub action for checkout
there was a new feature introduced to git, that prevents some of our actions to run. The updated action handles this properly. actions/checkout#760 Signed-off-by: Martin Schurz <[email protected]>
1 parent 231036f commit 0c8cbb2

File tree

9 files changed

+11
-11
lines changed

9 files changed

+11
-11
lines changed

.github/workflows/ansible-lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010

1111
steps:
1212
# Important: This sets up your GITHUB_WORKSPACE environment variable
13-
- uses: actions/checkout@v2
13+
- uses: actions/checkout@v3
1414

1515
- name: Lint Ansible Playbook
1616
# replace "master" with any valid ref

.github/workflows/galaxy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
deploy:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v2
13+
- uses: actions/checkout@v3
1414

1515
# deploy the collection first, because if it fails, we don't want
1616
# to update the galaxy.yml
@@ -21,7 +21,7 @@ jobs:
2121
galaxy_version: ${{ github.event.release.tag_name }}
2222

2323
# checkout master instead of the release-tag so we can push the galaxy.yml
24-
- uses: actions/checkout@v2
24+
- uses: actions/checkout@v3
2525
with:
2626
ref: master
2727

.github/workflows/mysql_hardening.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
# - fedora # geerlingguy.mysql does not support fedora
3535
steps:
3636
- name: Checkout repo
37-
uses: actions/checkout@v2
37+
uses: actions/checkout@v3
3838
with:
3939
path: ansible_collections/devsec/hardening
4040
submodules: true

.github/workflows/nginx_hardening.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
# - fedora # no support from geerlingguy role
3535
steps:
3636
- name: Checkout repo
37-
uses: actions/checkout@v2
37+
uses: actions/checkout@v3
3838
with:
3939
path: ansible_collections/devsec/hardening
4040
submodules: true

.github/workflows/os_hardening.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
# - arch # needs to be fixed
3434
steps:
3535
- name: Checkout repo
36-
uses: actions/checkout@v2
36+
uses: actions/checkout@v3
3737
with:
3838
path: ansible_collections/devsec/hardening
3939
submodules: true

.github/workflows/prettier-md.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414

1515
steps:
1616
- name: Git checkout
17-
uses: actions/checkout@v2
17+
uses: actions/checkout@v3
1818
with:
1919
ref: ${{ github.head_ref }}
2020

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
name: create release draft
1414
steps:
15-
- uses: actions/checkout@v2.3.4
15+
- uses: actions/checkout@v3
1616
with:
1717
fetch-depth: 0
1818

@@ -52,7 +52,7 @@ jobs:
5252

5353
# do a second checkout to prevent race situation
5454
# changelog gets updated but action works on old commit id
55-
- uses: actions/checkout@v2.3.4
55+
- uses: actions/checkout@v3
5656
with:
5757
ref: master
5858

.github/workflows/ssh_hardening.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
# - opensuse_tumbleweed # baseline is not compatible with suse
3535
steps:
3636
- name: Checkout repo
37-
uses: actions/checkout@v2
37+
uses: actions/checkout@v3
3838
with:
3939
path: ansible_collections/devsec/hardening
4040
submodules: true

.github/workflows/ssh_hardening_custom_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
# - opensuse_tumbleweed # baseline is not compatible with suse
3535
steps:
3636
- name: Checkout repo
37-
uses: actions/checkout@v2
37+
uses: actions/checkout@v3
3838
with:
3939
path: ansible_collections/devsec/hardening
4040
submodules: true

0 commit comments

Comments
 (0)