Skip to content

Commit 81af661

Browse files
authored
Pin and update dependencies (#50)
Signed-off-by: John Mertic <[email protected]>
1 parent 737167a commit 81af661

File tree

1 file changed

+15
-5
lines changed

1 file changed

+15
-5
lines changed

.github/workflows/jekyll.yml

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,25 +31,30 @@ jobs:
3131
build:
3232
runs-on: ubuntu-latest
3333
steps:
34+
- name: Harden Runner
35+
uses: step-security/harden-runner@5c7944e73c4c2a096b17a9cb74d65b6c2bbafbde # v2.9.1
36+
with:
37+
egress-policy: audit
38+
3439
- name: Checkout
35-
uses: actions/checkout@v4
40+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
3641
- name: Setup Ruby
37-
uses: ruby/setup-ruby@8575951200e472d5f2d95c625da0c7bec8217c42 # v1.161.0
42+
uses: ruby/setup-ruby@52753b7da854d5c07df37391a986c76ab4615999 # v1.191.0
3843
with:
3944
ruby-version: '3.1' # Not needed with a .ruby-version file
4045
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
4146
cache-version: 0 # Increment this number if you need to re-download cached gems
4247
- name: Setup Pages
4348
id: pages
44-
uses: actions/configure-pages@v5
49+
uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5.0.0
4550
- name: Build with Jekyll
4651
# Outputs to the './_site' directory by default
4752
run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
4853
env:
4954
JEKYLL_ENV: production
5055
- name: Upload artifact
5156
# Automatically uploads an artifact from the './_site' directory by default
52-
uses: actions/upload-pages-artifact@v3
57+
uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3.0.1
5358

5459
# Deployment job
5560
deploy:
@@ -59,6 +64,11 @@ jobs:
5964
runs-on: ubuntu-latest
6065
needs: build
6166
steps:
67+
- name: Harden Runner
68+
uses: step-security/harden-runner@5c7944e73c4c2a096b17a9cb74d65b6c2bbafbde # v2.9.1
69+
with:
70+
egress-policy: audit
71+
6272
- name: Deploy to GitHub Pages
6373
id: deployment
64-
uses: actions/deploy-pages@v4
74+
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4.0.5

0 commit comments

Comments
 (0)