Skip to content

Commit 030fcaf

Browse files
authored
Merge pull request #62 from macadmins/ns.github_deps
Update action versions, pin to commit hashes
2 parents e253747 + 1e5c19c commit 030fcaf

5 files changed

Lines changed: 23 additions & 9 deletions

File tree

.github/CODEOWNERS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Dependabot
2+
.github/workflows/* @nstrauss @liquidz00

.github/dependabot.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
schedule:
6+
interval: "monthly"

.github/workflows/main_pr_tests.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ jobs:
1717
runs-on: ubuntu-latest
1818
steps:
1919
- name: Checkout
20-
uses: actions/checkout@v3
20+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2121

2222
- name: Setup Python
23-
uses: actions/setup-python@v4
23+
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
2424
with:
2525
python-version: '3.9'
2626
cache: 'pip'

.github/workflows/publish_docs.yaml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ on:
77
paths:
88
- 'docs/**'
99
- 'src/**'
10+
workflow_dispatch:
11+
inputs:
12+
ref:
13+
description: The branch, tag, or commit SHA1 to build the docs from.
1014

1115
permissions:
1216
contents: read
@@ -26,10 +30,12 @@ jobs:
2630
runs-on: ubuntu-latest
2731
steps:
2832
- name: Checkout
29-
uses: actions/checkout@v3
33+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
34+
with:
35+
ref: ${{ inputs.ref }}
3036

3137
- name: Setup Python
32-
uses: actions/setup-python@v4
38+
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
3339
with:
3440
python-version: '3.9'
3541

@@ -39,10 +45,10 @@ jobs:
3945
make docs
4046
4147
- name: Upload Artifact
42-
uses: actions/upload-pages-artifact@v2
48+
uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3.0.1
4349
with:
4450
path: 'build/docs/'
4551

4652
- name: Deploy to GitHub Pages
4753
id: deployment
48-
uses: actions/deploy-pages@v2
54+
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4.0.5

.github/workflows/publish_pypi.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ jobs:
1717
id-token: write
1818
steps:
1919
- name: Checkout
20-
uses: actions/checkout@v3
20+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2121
with:
2222
ref: ${{ inputs.ref }}
2323

2424
- name: Setup Python
25-
uses: actions/setup-python@v4
25+
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
2626
with:
2727
python-version: '3.9'
2828

@@ -33,4 +33,4 @@ jobs:
3333
run: make build
3434

3535
- name: Publish package distributions to PyPI
36-
uses: pypa/gh-action-pypi-publish@release/v1
36+
uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.12.4

0 commit comments

Comments
 (0)