Skip to content

Commit

Permalink
Fix vulnerabilities and improve CI (#37)
Browse files Browse the repository at this point in the history
* Run build in PR CI

Signed-off-by: Harry Mellor <[email protected]>

* Update Gemfile.lock to remove vulnerable package

Signed-off-by: Harry Mellor <[email protected]>

---------

Signed-off-by: Harry Mellor <[email protected]>
  • Loading branch information
hmellor authored Feb 25, 2025
1 parent 57e3d78 commit 3128f43
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 27 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/jekyll.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@
name: Deploy Jekyll site to Pages

on:
# Runs on pushes targeting the default branch
# Runs on pushes targeting the default branch and pull requests
push:
branches: ["main"]
pull_request:

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand Down Expand Up @@ -52,8 +53,9 @@ jobs:
# Automatically uploads an artifact from the './_site' directory by default
uses: actions/upload-pages-artifact@v3

# Deployment job
# Deployment job (only if triggered by push to main)
deploy:
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
Expand Down
26 changes: 1 addition & 25 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,8 @@ GEM
logger
faraday-net_http (3.4.0)
net-http (>= 0.5.0)
ffi (1.17.1-aarch64-linux-gnu)
ffi (1.17.1-aarch64-linux-musl)
ffi (1.17.1-arm-linux-gnu)
ffi (1.17.1-arm-linux-musl)
ffi (1.17.1-arm64-darwin)
ffi (1.17.1-x86_64-darwin)
ffi (1.17.1-x86_64-linux-gnu)
ffi (1.17.1-x86_64-linux-musl)
forwardable-extended (2.6.0)
gemoji (4.1.0)
github-pages (232)
Expand Down Expand Up @@ -241,22 +235,10 @@ GEM
minitest (5.25.4)
net-http (0.6.0)
uri
nokogiri (1.18.3-aarch64-linux-gnu)
racc (~> 1.4)
nokogiri (1.18.3-aarch64-linux-musl)
racc (~> 1.4)
nokogiri (1.18.3-arm-linux-gnu)
racc (~> 1.4)
nokogiri (1.18.3-arm-linux-musl)
racc (~> 1.4)
nokogiri (1.18.3-arm64-darwin)
racc (~> 1.4)
nokogiri (1.18.3-x86_64-darwin)
racc (~> 1.4)
nokogiri (1.18.3-x86_64-linux-gnu)
racc (~> 1.4)
nokogiri (1.18.3-x86_64-linux-musl)
racc (~> 1.4)
octokit (4.25.1)
faraday (>= 1, < 3)
sawyer (~> 0.9)
Expand Down Expand Up @@ -292,14 +274,8 @@ GEM
webrick (1.9.1)

PLATFORMS
aarch64-linux-gnu
aarch64-linux-musl
arm-linux-gnu
arm-linux-musl
arm64-darwin
x86_64-darwin
x86_64-linux-gnu
x86_64-linux-musl
x86_64-linux

DEPENDENCIES
github-pages (~> 232)
Expand Down

0 comments on commit 3128f43

Please sign in to comment.