Skip to content

Commit 9a1278b

Browse files
Update ci.yml
1 parent 22fd485 commit 9a1278b

1 file changed

Lines changed: 18 additions & 18 deletions

File tree

.github/workflows/ci.yml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -32,17 +32,17 @@ jobs:
3232
run:
3333
working-directory: ./ansible_collections/${{ env.NAMESPACE }}/${{ env.COLLECTION_NAME }}
3434
steps:
35-
- uses: actions/checkout@v4
35+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
3636
with:
3737
path: ./ansible_collections/${{ env.NAMESPACE }}/${{ env.COLLECTION_NAME }}
3838

3939
- name: Setup Python
40-
uses: actions/setup-python@v4
40+
uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # v4
4141
with:
4242
python-version: ${{ matrix.python_ver }}
4343

4444
- name: Install Poetry
45-
uses: Gr1N/setup-poetry@v8
45+
uses: Gr1N/setup-poetry@15821dc8a61bc630db542ae4baf6a7c19a994844 # v8
4646
with:
4747
poetry-version: "1.8.5"
4848

@@ -85,9 +85,9 @@ jobs:
8585
working-directory: ./ansible_collections/${{ env.NAMESPACE }}/${{ env.COLLECTION_NAME }}
8686
steps:
8787
- name: Check out code
88-
uses: actions/checkout@v4
88+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
8989
- name: Run ansible-lint
90-
uses: ansible/ansible-lint@main
90+
uses: ansible/ansible-lint@cb6a42235ff14e2da113f588bb088c2f68540f7b # main
9191

9292
# Tox is used to execute linters required for Event-Driven Ansible (EDA) code:
9393
# github.com/ansible/eda-partner-testing/blob/main/README.md
@@ -100,7 +100,7 @@ jobs:
100100
name: Tox Checks
101101
runs-on: ubuntu-latest
102102
steps:
103-
- uses: actions/checkout@v4
103+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
104104
- name: Install deps
105105
run: python -m pip install tox
106106
- name: Move to tox conf file and run tox
@@ -120,17 +120,17 @@ jobs:
120120
run:
121121
working-directory: ./ansible_collections/${{ env.NAMESPACE }}/${{ env.COLLECTION_NAME }}
122122
steps:
123-
- uses: actions/checkout@v4
123+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
124124
with:
125125
path: ./ansible_collections/${{ env.NAMESPACE }}/${{ env.COLLECTION_NAME }}
126126

127127
- name: Setup Python
128-
uses: actions/setup-python@v4
128+
uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # v4
129129
with:
130130
python-version: ${{ needs.pyversion.outputs.pyversion }}
131131

132132
- name: Install Poetry
133-
uses: Gr1N/setup-poetry@v8
133+
uses: Gr1N/setup-poetry@15821dc8a61bc630db542ae4baf6a7c19a994844 # v8
134134
with:
135135
poetry-version: "1.8.5"
136136

@@ -161,7 +161,7 @@ jobs:
161161

162162
steps:
163163
- name: Checkout
164-
uses: actions/checkout@v4
164+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
165165

166166
# New task for combined Galaxy and AutomationHub publishing
167167
- name: Set up Automation Hub and Galaxy ansible.cfg file
@@ -186,7 +186,7 @@ jobs:
186186
187187
- name: Create release and publish
188188
id: release
189-
uses: cycjimmy/semantic-release-action@v4
189+
uses: cycjimmy/semantic-release-action@0a51e81a6baff2acad3ee88f4121c589c73d0f0e # v4
190190
with:
191191
semantic_version: 17.1.1
192192
extra_plugins: |
@@ -198,7 +198,7 @@ jobs:
198198
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
199199

200200
- name: Store built collection
201-
uses: actions/upload-artifact@v4
201+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
202202
with:
203203
name: collection
204204
path: |
@@ -220,17 +220,17 @@ jobs:
220220
# such as ansible-test in the symlink directory fails. Thus we need
221221
# to have the real path contain ansible_collections/paloaltonetworks/panos.
222222
- name: Checkout
223-
uses: actions/checkout@v4
223+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
224224
with:
225225
path: ./ansible_collections/${{ env.NAMESPACE }}/${{ env.COLLECTION_NAME }}
226226

227227
- name: Setup Python
228-
uses: actions/setup-python@v4
228+
uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # v4
229229
with:
230230
python-version: ${{ needs.pyversion.outputs.pyversion }}
231231

232232
- name: Install Poetry
233-
uses: Gr1N/setup-poetry@v8
233+
uses: Gr1N/setup-poetry@15821dc8a61bc630db542ae4baf6a7c19a994844 # v8
234234
with:
235235
poetry-version: "1.8.5"
236236

@@ -268,7 +268,7 @@ jobs:
268268
mkdir -p pan-os-ansible/ansible_collections/${{ env.NAMESPACE }}/${{ env.COLLECTION_NAME }}
269269
270270
- name: Deploy to GitHub Pages
271-
uses: JamesIves/github-pages-deploy-action@v4.4.3
271+
uses: JamesIves/github-pages-deploy-action@a1ea191d508feb8485aceba848389d49f80ca2dc # v4.4.3
272272
with:
273273
token: ${{ secrets.GITHUB_TOKEN }}
274274
branch: gh-pages
@@ -286,10 +286,10 @@ jobs:
286286

287287
steps:
288288
- name: checkout code
289-
uses: actions/checkout@v4
289+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
290290

291291
- name: setup node.js
292-
uses: actions/setup-node@v4
292+
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4
293293
with:
294294
node-version: 'lts/*'
295295

0 commit comments

Comments
 (0)