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.

https://github.com/actions/checkout/issues/760

Signed-off-by: Martin Schurz <[email protected]>
This commit is contained in:
Martin Schurz committed 2022-06-29 15:34:39 +02:00
1 parent 231036f882
commit 0c8cbb2185
9 files changed
+11 -11

No files matched your search

+1 -1
View File
@@ -10,7 +10,7 @@ jobs:
steps:
# Important: This sets up your GITHUB_WORKSPACE environment variable
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Lint Ansible Playbook
# replace "master" with any valid ref
+2 -2
View File
@@ -10,7 +10,7 @@ jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
# deploy the collection first, because if it fails, we don't want
# to update the galaxy.yml
@@ -21,7 +21,7 @@ jobs:
galaxy_version: ${{ github.event.release.tag_name }}
# checkout master instead of the release-tag so we can push the galaxy.yml
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
ref: master
+1 -1
View File
@@ -34,7 +34,7 @@ jobs:
# - fedora # geerlingguy.mysql does not support fedora
steps:
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
path: ansible_collections/devsec/hardening
submodules: true
+1 -1
View File
@@ -34,7 +34,7 @@ jobs:
# - fedora # no support from geerlingguy role
steps:
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
path: ansible_collections/devsec/hardening
submodules: true
+1 -1
View File
@@ -33,7 +33,7 @@ jobs:
# - arch # needs to be fixed
steps:
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
path: ansible_collections/devsec/hardening
submodules: true
+1 -1
View File
@@ -14,7 +14,7 @@ jobs:
steps:
- name: Git checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
+2 -2
View File
@@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
name: create release draft
steps:
- uses: actions/checkout@v2.3.4
- uses: actions/checkout@v3
with:
fetch-depth: 0
@@ -52,7 +52,7 @@ jobs:
# do a second checkout to prevent race situation
# changelog gets updated but action works on old commit id
- uses: actions/checkout@v2.3.4
- uses: actions/checkout@v3
with:
ref: master
+1 -1
View File
@@ -34,7 +34,7 @@ jobs:
# - opensuse_tumbleweed # baseline is not compatible with suse
steps:
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
path: ansible_collections/devsec/hardening
submodules: true
@@ -34,7 +34,7 @@ jobs:
# - opensuse_tumbleweed # baseline is not compatible with suse
steps:
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
path: ansible_collections/devsec/hardening
submodules: true