Skip to content

Commit 7008a4b

Browse files
authored
Merge pull request #776 from dev-sec/renovate/pin-dependencies
chore(deps): pin dependencies
2 parents 22e122f + 563f183 commit 7008a4b

13 files changed

+32
-32
lines changed

.github/workflows/ansible-lint.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
runs-on: ubuntu-latest
2727

2828
steps:
29-
- uses: actions/checkout@v4
29+
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
3030

3131
- name: Lint Ansible Playbook
32-
uses: ansible/ansible-lint@v24
32+
uses: ansible/ansible-lint@b4018c22f8fe8371bd6845d0cd62cebea54ce012 # v24

.github/workflows/enforce-labels.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ jobs:
1414
if: github.repository == 'dev-sec/ansible-collection-hardening'
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: actions/[email protected]
17+
- uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9 # v5.0.0
1818
with:
1919
repo-token: "${{ secrets.GITHUB_TOKEN }}"

.github/workflows/galaxy-publish.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -11,30 +11,30 @@ jobs:
1111
if: github.repository == 'dev-sec/ansible-collection-hardening'
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v4
14+
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
1515

1616
# deploy the collection first, because if it fails, we don't want
1717
# to update the galaxy.yml
1818
- name: Deploy the collection
19-
uses: artis3n/ansible_galaxy_collection@v2
19+
uses: artis3n/ansible_galaxy_collection@3368f56529a2ef47ef0ac1ecfcda039f90d0174a # v2
2020
with:
2121
api_key: ${{ secrets.GALAXY_API_KEY }}
2222
galaxy_version: ${{ github.event.release.tag_name }}
2323

2424
# checkout master instead of the release-tag so we can push the galaxy.yml
25-
- uses: actions/checkout@v4
25+
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
2626
with:
2727
ref: master
2828

2929
- name: update galaxy.yml with new version
30-
uses: microsoft/variable-substitution@v1
30+
uses: microsoft/variable-substitution@6287962da9e5b6e68778dc51e840caa03ca84495 # v1
3131
with:
3232
files: 'galaxy.yml'
3333
env:
3434
version: "${{ github.event.release.tag_name }}"
3535

3636
- name: push galaxy.yml
37-
uses: github-actions-x/[email protected]
37+
uses: github-actions-x/commit@722d56b8968bf00ced78407bbe2ead81062d8baa # v2.9
3838
with:
3939
github-token: ${{ secrets.GITHUB_TOKEN }}
4040
push-branch: 'master'

.github/workflows/mysql_hardening.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,13 @@ jobs:
5252
# - fedora # geerlingguy.mysql does not support fedora
5353
steps:
5454
- name: Checkout repo
55-
uses: actions/checkout@v4
55+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
5656
with:
5757
path: ansible_collections/devsec/hardening
5858
submodules: true
5959

6060
- name: Set up Python
61-
uses: actions/setup-python@v5
61+
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5
6262
with:
6363
python-version: 3.12
6464

.github/workflows/nginx_hardening.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,13 @@ jobs:
5151
# - fedora # no support from geerlingguy role
5252
steps:
5353
- name: Checkout repo
54-
uses: actions/checkout@v4
54+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
5555
with:
5656
path: ansible_collections/devsec/hardening
5757
submodules: true
5858

5959
- name: Set up Python
60-
uses: actions/setup-python@v5
60+
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5
6161
with:
6262
python-version: 3.12
6363

.github/workflows/os_hardening.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,13 @@ jobs:
5252
- arch
5353
steps:
5454
- name: Checkout repo
55-
uses: actions/checkout@v4
55+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
5656
with:
5757
path: ansible_collections/devsec/hardening
5858
submodules: true
5959

6060
- name: Set up Python
61-
uses: actions/setup-python@v5
61+
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5
6262
with:
6363
python-version: 3.12
6464

.github/workflows/os_hardening_vm.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
- generic/arch
5252
steps:
5353
- name: Checkout repo
54-
uses: actions/checkout@v4
54+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
5555
with:
5656
path: ansible_collections/devsec/hardening
5757
submodules: true

.github/workflows/prettier-md.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ jobs:
1616

1717
steps:
1818
- name: Git checkout
19-
uses: actions/checkout@v4
19+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
2020
with:
2121
ref: ${{ github.head_ref }}
2222

2323
- name: Prettify code
24-
uses: creyD/[email protected]
24+
uses: creyD/prettier_action@31355f8eef017f8aeba2e0bc09d8502b13dbbad1 # v4.3
2525
with:
2626
prettier_options: --write {**/*,*}.md

.github/workflows/release.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
if: github.repository == 'dev-sec/ansible-collection-hardening'
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@v4
16+
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
1717
with:
1818
fetch-depth: 0
1919
ref: master
@@ -26,12 +26,12 @@ jobs:
2626

2727
- name: calculate next version
2828
id: version
29-
uses: patrickjahns/version-drafter-action@v1
29+
uses: patrickjahns/version-drafter-action@fda4b8e4017bee5dd5794f255a4d484e8e647561 # v1
3030
env:
3131
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3232

3333
- name: Generate changelog
34-
uses: charmixer/auto-changelog-action@v1
34+
uses: charmixer/auto-changelog-action@b25e89c9410e03189f0d48b02b3a8caad6e78015 # v1
3535
with:
3636
token: ${{ secrets.GITHUB_TOKEN }}
3737
future_release: ${{ steps.version.outputs.next-version }}
@@ -42,7 +42,7 @@ jobs:
4242
issue_line_labels: mysql_hardening,os_hardening,ssh_hardening,nginx_hardening
4343

4444
- name: push changelog
45-
uses: github-actions-x/[email protected]
45+
uses: github-actions-x/commit@722d56b8968bf00ced78407bbe2ead81062d8baa # v2.9
4646
with:
4747
github-token: ${{ secrets.GITHUB_TOKEN }}
4848
push-branch: 'master'
@@ -58,18 +58,18 @@ jobs:
5858
5959
- name: Read CHANGELOG.md
6060
id: package
61-
uses: juliangruber/read-file-action@v1
61+
uses: juliangruber/read-file-action@b549046febe0fe86f8cb4f93c24e284433f9ab58 # v1
6262
with:
6363
path: ./CHANGELOGRELEASE.md
6464

6565
- name: Delete old drafts
66-
uses: hugo19941994/[email protected]
66+
uses: hugo19941994/delete-draft-releases@1bdca1ea7ffb25ae7f468a7bdb40056dae98175e # v1.0.1
6767
env:
6868
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6969

7070
- name: Create Release draft
7171
id: create_release
72-
uses: actions/create-release@v1
72+
uses: actions/create-release@0cb9c9b65d5d1901c1f53e5e66eaf4afd303e70e # v1
7373
env:
7474
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
7575
with:

.github/workflows/roles-readme.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ jobs:
2626
- ssh_hardening
2727
steps:
2828
- name: Check out code
29-
uses: actions/checkout@v4
29+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
3030

3131
- name: Set up Python
32-
uses: actions/setup-python@v5
32+
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5
3333
with:
3434
python-version: 3.12
3535

@@ -44,7 +44,7 @@ jobs:
4444

4545
- name: Push README
4646
if: github.event_name != 'pull_request'
47-
uses: github-actions-x/[email protected]
47+
uses: github-actions-x/commit@722d56b8968bf00ced78407bbe2ead81062d8baa # v2.9
4848
with:
4949
github-token: ${{ secrets.GITHUB_TOKEN }}
5050
commit-message: 'update ${{ matrix.roles }} readme'

.github/workflows/ssh_hardening.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,13 @@ jobs:
5252
# - opensuse_tumbleweed # needs fix - opensuse has different file location for conf and pam (/usr/etc/ssh/?, /usr/lib/pam.d/?)
5353
steps:
5454
- name: Checkout repo
55-
uses: actions/checkout@v4
55+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
5656
with:
5757
path: ansible_collections/devsec/hardening
5858
submodules: true
5959

6060
- name: Set up Python
61-
uses: actions/setup-python@v5
61+
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5
6262
with:
6363
python-version: 3.12
6464

.github/workflows/ssh_hardening_bsd.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
- freebsd14
4343
steps:
4444
- name: Checkout repo
45-
uses: actions/checkout@v4
45+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
4646
with:
4747
path: ansible_collections/devsec/hardening
4848
submodules: true

.github/workflows/ssh_hardening_custom_tests.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,13 @@ jobs:
5252
# - opensuse_tumbleweed # needs fix - opensuse has different file location for conf and pam (/usr/etc/ssh/?, /usr/lib/pam.d/?)
5353
steps:
5454
- name: Checkout repo
55-
uses: actions/checkout@v4
55+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
5656
with:
5757
path: ansible_collections/devsec/hardening
5858
submodules: true
5959

6060
- name: Set up Python
61-
uses: actions/setup-python@v5
61+
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5
6262
with:
6363
python-version: 3.12
6464

0 commit comments

Comments
 (0)