Skip to content

Commit 3d3780e

Browse files
authored
MNT: Update GHA workflows (#72)
* Update GHA workflows * add dependabot
1 parent 31fc3de commit 3d3780e

File tree

4 files changed

+33
-11
lines changed

4 files changed

+33
-11
lines changed

.github/dependabot.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: pip
4+
directory: /docs/
5+
schedule:
6+
interval: monthly
7+
allow:
8+
# Allow only production updates for Sphinx
9+
- dependency-name: sphinx
10+
dependency-type: production
11+
groups:
12+
docs:
13+
patterns:
14+
- '*'
15+
- package-ecosystem: github-actions
16+
directory: /.github/workflows
17+
schedule:
18+
interval: monthly
19+
groups:
20+
workflows:
21+
patterns:
22+
- '*'

.github/workflows/build-vm-images.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,23 +14,23 @@ jobs:
1414
runs-on: "cirun-runner--${{ github.run_id }}"
1515

1616
steps:
17-
- uses: actions/checkout@v3
17+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
1818
- id: 'auth'
1919
name: 'Authenticate to Google Cloud'
20-
uses: 'google-github-actions/auth@v0'
20+
uses: google-github-actions/auth@7c6bc770dae815cd3e89ee6cdf493a5fab2cc093 # v3.0.0
2121
with:
2222
credentials_json: '${{ secrets.GOOGLE_CREDENTIALS }}'
2323

2424
- name: Setup Node.js environment
25-
uses: actions/setup-node@v3.5.1
25+
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
2626
with:
2727
node-version: 16
2828

2929
- name: Check NVIDIA SMI
3030
run: nvidia-smi || true
3131

3232
- name: Setup Miniconda
33-
uses: conda-incubator/setup-miniconda@v2.2.0
33+
uses: conda-incubator/setup-miniconda@835234971496cad1653abb28a638a281cf32541f # v3.2.0
3434
with:
3535
python-version: "3.10"
3636
miniconda-version: "latest"
@@ -67,7 +67,7 @@ jobs:
6767
6868
- id: 'upload-file'
6969
name: Upload built disk image to GCS
70-
uses: 'google-github-actions/upload-cloud-storage@v1'
70+
uses: google-github-actions/upload-cloud-storage@6397bd7208e18d13ba2619ee21b9873edc94427a # v3.0.0
7171
with:
7272
path: '/tmp/output-image/${{ steps.output-image.outputs.OUTPUT_IMAGE_NAME}}.qcow2'
7373
destination: 'cirun/images/'

.github/workflows/openstack.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ jobs:
3232
run:
3333
shell: bash -el {0}
3434
steps:
35-
- uses: actions/checkout@v3
35+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
3636

3737
- name: Setup Miniconda
38-
uses: conda-incubator/setup-miniconda@v2.2.0
38+
uses: conda-incubator/setup-miniconda@835234971496cad1653abb28a638a281cf32541f # v3.2.0
3939
with:
4040
python-version: "3.10"
4141
miniconda-version: "latest"
@@ -52,10 +52,10 @@ jobs:
5252
run: |
5353
echo '${{ secrets.GOOGLE_CREDENTIALS }}' > /tmp/gcp.json
5454
55-
- uses: actions/checkout@v3
55+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
5656
- id: 'auth'
5757
name: 'Authenticate to Google Cloud'
58-
uses: 'google-github-actions/auth@v0'
58+
uses: 'google-github-actions/auth@7c6bc770dae815cd3e89ee6cdf493a5fab2cc093' # v3.0.0
5959
with:
6060
credentials_json: ${{ secrets.GOOGLE_CREDENTIALS }}
6161

.github/workflows/usernames.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ jobs:
1111
name: Validate usernames
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v4
15-
- uses: actions/setup-python@v4
14+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
15+
- uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
1616
with:
1717
python-version: 3.x
1818
- name: Install requests

0 commit comments

Comments
 (0)