Skip to content

Commit 643cc13

Browse files
chore(deps): pin dependencies in .github/workflows/test.yml (#140)
* chore(deps): pin dependencies in .github/workflows/test.yml * fix: use user agent that isn't blocked by drupal / sourceforge --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Max Leske <250711+theseion@users.noreply.github.com>
1 parent 9dbcd9c commit 643cc13

File tree

3 files changed

+9
-10
lines changed

3 files changed

+9
-10
lines changed

.github/workflows/gh-pages.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
- name: Install Dart Sass
4343
run: sudo snap install dart-sass
4444
- name: Checkout
45-
uses: actions/checkout@v4
45+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
4646
with:
4747
submodules: recursive
4848
- name: Setup Pages
@@ -60,7 +60,7 @@ jobs:
6060
--minify \
6161
--baseURL "${{ steps.pages.outputs.base_url }}/"
6262
- name: Upload artifact
63-
uses: actions/upload-pages-artifact@v3
63+
uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3
6464
with:
6565
path: ./public
6666

@@ -74,15 +74,15 @@ jobs:
7474
steps:
7575
- name: Deploy to GitHub Pages
7676
id: deployment
77-
uses: actions/deploy-pages@v4
77+
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4
7878

7979
dispatch:
8080
runs-on: ubuntu-latest
8181
needs: build
8282
permissions:
8383
contents: write # needed for triggering dispatch
8484
steps:
85-
- uses: actions/create-github-app-token@v1
85+
- uses: actions/create-github-app-token@5d869da34e18e7287c1daad50e0b8ea0f506ce69 # v1
8686
id: app-token
8787
with:
8888
app-id: ${{ vars.APP_ID }}

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@ jobs:
3131
run: sudo snap install dart-sass
3232

3333
- name: Checkout
34-
uses: actions/checkout@v4
34+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
3535
with:
3636
submodules: recursive
3737

3838
- name: Setup Pages
3939
id: pages
40-
uses: actions/configure-pages@v5
40+
uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5
4141

4242
- name: Install Node.js dependencies
4343
run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
@@ -59,7 +59,7 @@ jobs:
5959

6060
- name: Link Checker
6161
id: lychee
62-
uses: lycheeverse/lychee-action@22134d37a1fff6c2974df9c92a7c7e1e86a08f9c # for v1.9.0
62+
uses: lycheeverse/lychee-action@5cd5ba7877bce8b3973756ae3c9474ce1e50be2f # for v1.9.0
6363
with:
6464
args: "--cookie-jar /tmp/lychee-cookies './content/**/*.md'"
6565
jobSummary: true

lychee.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
exclude = ["github.com/coreruleset/coreruleset/blob/?$", "https://www.akamai.com/products/app-and-api-protector"]
2-
user_agent = "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0"
1+
exclude = ["github.com/coreruleset/coreruleset/blob/?$", "https://www.akamai.com/products/app-and-api-protector", "https://www.drupal.org"]
2+
user_agent = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:132.0) Gecko/20100101 Firefox/132.0"
33
no_progress = true
44
cache = true
5-
verbose = "debug"
65
accept = "200..=204, 429"
76
exclude_all_private = true

0 commit comments

Comments
 (0)