Skip to content

Commit 251aff2

Browse files
authored
Merge pull request #1179 from thaJeztah/gha_updates
gha: various tweaks
2 parents 77669e5 + 95b6b1d commit 251aff2

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

.github/workflows/ci.yml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
name: ci
22

3+
# Default to 'contents: read', which grants actions to read commits.
4+
#
5+
# If any permission is set, any permission not included in the list is
6+
# implicitly set to "none".
7+
#
8+
# see https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions
9+
permissions:
10+
contents: read
11+
12+
concurrency:
13+
group: ${{ github.workflow }}-${{ github.ref }}
14+
cancel-in-progress: true
15+
316
on:
417
workflow_dispatch:
518
push:
@@ -13,6 +26,7 @@ on:
1326
jobs:
1427
build:
1528
runs-on: ubuntu-24.04
29+
timeout-minutes: 60 # guardrails timeout for the whole job
1630
strategy:
1731
fail-fast: false
1832
matrix:
@@ -31,10 +45,10 @@ jobs:
3145
steps:
3246
-
3347
name: Checkout
34-
uses: actions/checkout@v3
48+
uses: actions/checkout@v4
3549
-
3650
name: Set up Docker Buildx
37-
uses: docker/setup-buildx-action@v1
51+
uses: docker/setup-buildx-action@v3
3852
-
3953
name: Build
4054
run: |

0 commit comments

Comments
 (0)