Skip to content

Commit 67cc8aa

Browse files
authored
ci: use hash-pinned actions (#43)
dependabot: consolidate updated using groups
1 parent 2f7387f commit 67cc8aa

4 files changed

Lines changed: 15 additions & 9 deletions

File tree

‎.github/dependabot.yml‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
11
version: 2
22
updates:
3-
# Maintain dependencies for GitHub Actions
43
- package-ecosystem: "github-actions"
54
directory: "/"
65
schedule:
76
interval: "quarterly"
7+
groups:
8+
coatl-dev-actions:
9+
patterns:
10+
- "coatl-dev/actions/**"
11+
coatl-dev-workflows:
12+
patterns:
13+
- "coatl-dev/workflows/**"
814
labels: ["dependencies"]
915
commit-message:
1016
prefix: "ci"

‎.github/workflows/ci.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ on:
88

99
jobs:
1010
pylint:
11-
uses: coatl-dev/workflows/.github/workflows/pylint.yml@v6
11+
uses: coatl-dev/workflows/.github/workflows/pylint.yml@0d24a98543a7e17f432503425e6ef836972864bb # v7.0.28
1212
with:
1313
path: src
1414

1515
tox:
1616
if: ${{ github.event_name == 'pull_request' }}
17-
uses: ./.github/workflows/tox.yml
17+
uses: $/.github/workflows/tox.yml

‎.github/workflows/publish.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,22 @@ on:
77

88
jobs:
99
tox:
10-
uses: ./.github/workflows/tox.yml
10+
uses: $/.github/workflows/tox.yml
1111

1212
pypi-upload:
1313
needs: tox
1414
runs-on: ubuntu-latest
1515
steps:
1616
- name: Checkout repo
17-
uses: actions/checkout@v7
17+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
1818

1919
- name: Upload package to PyPI
20-
uses: coatl-dev/actions/pypi-upload@v5
20+
uses: coatl-dev/actions/pypi-upload@45ee24a8c8397a346538acefea6221e30076fa66 # v7.0.14
2121
with:
2222
password: ${{ secrets.PYPI_API_TOKEN_JAVA_API_PKG }}
2323

2424
- name: Upload stubs to PyPI
25-
uses: coatl-dev/actions/pypi-upload@v5
25+
uses: coatl-dev/actions/pypi-upload@45ee24a8c8397a346538acefea6221e30076fa66 # v7.0.14
2626
with:
2727
python-version: '3.12'
2828
password: ${{ secrets.PYPI_API_TOKEN_JAVA_API_STUBS }}

‎.github/workflows/tox.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ on:
55

66
jobs:
77
tox-package:
8-
uses: coatl-dev/workflows/.github/workflows/tox-docker.yml@v6
8+
uses: coatl-dev/workflows/.github/workflows/tox-docker.yml@0d24a98543a7e17f432503425e6ef836972864bb # v7.0.28
99

1010
tox-stubs:
11-
uses: coatl-dev/workflows/.github/workflows/tox.yml@v6
11+
uses: coatl-dev/workflows/.github/workflows/tox.yml@0d24a98543a7e17f432503425e6ef836972864bb # v7.0.28
1212
with:
1313
python-versions: |
1414
3.9

0 commit comments

Comments
 (0)