Skip to content

Commit 9023848

Browse files
Add dependabot.yml (#117)
Co-authored-by: Maciej Olko <[email protected]>
1 parent f64224a commit 9023848

File tree

2 files changed

+23
-13
lines changed

2 files changed

+23
-13
lines changed

.github/dependabot.yml

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

.github/workflows/update-lint-and-build.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616
matrix:
1717
version: [3.14, 3.13, 3.12, 3.11, '3.10']
1818
steps:
19-
- uses: styfle/cancel-workflow-action@main
19+
- uses: styfle/cancel-workflow-action@0.12.1
2020
with:
2121
access_token: ${{ secrets.GITHUB_TOKEN }}
22-
- uses: actions/setup-python@master
22+
- uses: actions/setup-python@v6.0.0
2323
with:
2424
python-version: 3
2525
- name: Install dependencies
@@ -28,7 +28,7 @@ jobs:
2828
pip install requests cogapp polib transifex-python sphinx-intl blurb six
2929
curl -o- https://raw.githubusercontent.com/transifex/cli/master/install.sh | bash
3030
working-directory: /usr/local/bin
31-
- uses: actions/checkout@master
31+
- uses: actions/checkout@v5.0.0
3232
with:
3333
ref: ${{ matrix.version }}
3434
fetch-depth: 0
@@ -59,7 +59,7 @@ jobs:
5959
- run: git commit -m "$(python manage_translation.py generate_commit_msg)"
6060
if: env.SIGNIFICANT_CHANGES
6161
- name: Push commit
62-
uses: ad-m/github-push-action@master
62+
uses: ad-m/github-push-action@v1.0.0
6363
if: env.SIGNIFICANT_CHANGES
6464
with:
6565
branch: ${{ matrix.version }}
@@ -74,11 +74,11 @@ jobs:
7474
needs: ['update']
7575
continue-on-error: true
7676
steps:
77-
- uses: actions/setup-python@master
77+
- uses: actions/setup-python@v6.0.0
7878
with:
7979
python-version: 3
8080
- run: pip install sphinx-lint
81-
- uses: actions/checkout@master
81+
- uses: actions/checkout@v5.0.0
8282
with:
8383
ref: ${{ matrix.version }}
8484
- uses: rffontenelle/[email protected]
@@ -93,16 +93,16 @@ jobs:
9393
format: [html, latex, epub]
9494
needs: ['update']
9595
steps:
96-
- uses: actions/setup-python@master
96+
- uses: actions/setup-python@v6.0.0
9797
with:
9898
python-version: 3.12 # pin for Sphinx 3.4.3 in 3.10 branch (see #63)
99-
- uses: actions/checkout@master
99+
- uses: actions/checkout@v5.0.0
100100
with:
101101
repository: python/cpython
102102
ref: ${{ matrix.version }}
103103
- run: make venv
104104
working-directory: ./Doc
105-
- uses: actions/checkout@master
105+
- uses: actions/checkout@v5.0.0
106106
with:
107107
ref: ${{ matrix.version }}
108108
path: Doc/locales/pl/LC_MESSAGES
@@ -111,7 +111,7 @@ jobs:
111111
- uses: sphinx-doc/[email protected]
112112
- run: make -e SPHINXOPTS="--color -D language='pl' -W --keep-going" ${{ matrix.format }}
113113
working-directory: ./Doc
114-
- uses: actions/upload-artifact@master
114+
- uses: actions/upload-artifact@v5.0.0
115115
if: success() || failure()
116116
with:
117117
name: build-${{ matrix.version }}-${{ matrix.format }}
@@ -124,13 +124,13 @@ jobs:
124124
version: [3.14, 3.13, 3.12, 3.11, '3.10']
125125
needs: ['build']
126126
steps:
127-
- uses: actions/download-artifact@master
127+
- uses: actions/download-artifact@v6.0.0
128128
with:
129129
name: build-${{ matrix.version }}-latex
130130
- run: sudo apt-get update
131131
- run: sudo apt-get install -y latexmk texlive-xetex fonts-freefont-otf xindy
132132
- run: make
133-
- uses: actions/upload-artifact@master
133+
- uses: actions/upload-artifact@v5.0.0
134134
with:
135135
name: build-${{ matrix.version }}-pdf
136136
path: .
@@ -147,7 +147,7 @@ jobs:
147147
with:
148148
python-version: 3.x
149149
- uses: astral-sh/setup-uv@v5
150-
- uses: actions/download-artifact@master
150+
- uses: actions/download-artifact@v6.0.0
151151
with:
152152
name: build-${{ matrix.version }}-epub
153153
- run: uvx epubcheck

0 commit comments

Comments
 (0)