Skip to content

Commit 84f7d24

Browse files
authored
Merge pull request #340 from oceanhackweek/linkcheck
add dependabot updates and linkcheck
2 parents 70f0d8e + 2ab1001 commit 84f7d24

File tree

2 files changed

+25
-7
lines changed

2 files changed

+25
-7
lines changed
Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,41 @@
11
name: Check Sphinx Build
2+
23
on:
34
pull_request:
45
branches: [master, source]
56

67
jobs:
7-
jekyll_build:
8-
name: Jekyll build of web pages
8+
build-docs:
9+
name: Sphinx build of web pages
910
runs-on: ubuntu-latest
11+
defaults:
12+
run:
13+
shell: bash -l {0}
1014

1115
steps:
12-
# https://github.com/actions/checkout
1316
- name: Checkout
14-
uses: actions/checkout@v2
17+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1518
with:
1619
submodules: true
1720

1821
- name: Install Conda environment from environment.yml
19-
uses: mamba-org/setup-micromamba@v2.0.0
22+
uses: mamba-org/setup-micromamba@0dea6379afdaffa5d528b3d1dabc45da37f443fc # v2.0.4
2023
with:
2124
environment-file: environment.yml
2225
cache-environment: true
2326

2427
- name: Build documentation
2528
shell: bash -l {0}
2629
run: |
27-
make html
30+
make html linkcheck
2831
2932
# workaround https://github.com/actions/upload-artifact/issues/38
3033
- name: tarball
3134
run: tar czf site.tar.gz ./_build/html/
3235

3336
# https://github.com/actions/upload-artifact
3437
- name: Upload Website artifact
35-
uses: actions/upload-artifact@v4
38+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # 4.6.2
3639
with:
3740
name: Website
3841
path: site.tar.gz

.github/workflows/dependabot.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# See https://docs.github.com/en/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/keeping-your-actions-up-to-date-with-dependabot
2+
3+
version: 2
4+
updates:
5+
6+
- package-ecosystem: "github-actions"
7+
directory: "/"
8+
schedule:
9+
interval: "daily"
10+
labels:
11+
- "Bot"
12+
groups:
13+
github-actions:
14+
patterns:
15+
- '*'

0 commit comments

Comments
 (0)