Skip to content

Commit 4974992

Browse files
committed
fix: .github - add concurrency, timeouts and python 3.10 to the matrix
Signed-off-by: Michal Fiedorowicz <mfiedorowicz@netboxlabs.com>
1 parent e9974f0 commit 4974992

File tree

3 files changed

+19
-1
lines changed

3 files changed

+19
-1
lines changed

.github/workflows/labeler.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,17 @@ name: PR labeler
22
on:
33
- pull_request_target
44

5+
concurrency:
6+
group: ${{ github.workflow }}
7+
cancel-in-progress: false
8+
59
jobs:
610
triage:
711
permissions:
812
contents: read
913
pull-requests: write
1014
runs-on: ubuntu-latest
15+
timeout-minutes: 5
1116
steps:
1217
- uses: actions/checkout@v4
1318
- uses: actions/labeler@v5

.github/workflows/lint-tests.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,17 @@ on:
66
branches:
77
- "!release"
88

9+
concurrency:
10+
group: ${{ github.workflow }}
11+
cancel-in-progress: false
12+
913
jobs:
1014
tests:
1115
runs-on: ubuntu-latest
16+
timeout-minutes: 5
1217
strategy:
1318
matrix:
14-
python: [ "3.11" ]
19+
python: [ "3.10", "3.11" ]
1520
steps:
1621
- uses: actions/checkout@v4
1722

.github/workflows/release.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ on:
44
push:
55
branches: [ release ]
66

7+
concurrency:
8+
group: ${{ github.workflow }}
9+
cancel-in-progress: false
10+
711
env:
812
GH_TOKEN: ${{ secrets.ORB_CI_GH_TOKEN }}
913
SEMANTIC_RELEASE_PACKAGE: ${{ github.repository }}
@@ -15,6 +19,7 @@ jobs:
1519
get-next-version:
1620
name: Semantic release get next version
1721
runs-on: ubuntu-latest
22+
timeout-minutes: 5
1823
steps:
1924
- uses: actions/checkout@v4
2025
- uses: actions/setup-node@v4
@@ -97,6 +102,7 @@ jobs:
97102
confirm-version:
98103
name: Next version ${{ needs.get-next-version.outputs.new-release-version }}
99104
runs-on: ubuntu-latest
105+
timeout-minutes: 5
100106
needs: get-next-version
101107
if: needs.get-next-version.outputs.new-release-published == 'true'
102108
steps:
@@ -107,6 +113,7 @@ jobs:
107113
name: Build
108114
needs: [ get-next-version ]
109115
runs-on: ubuntu-latest
116+
timeout-minutes: 5
110117
permissions:
111118
id-token: write
112119
contents: read
@@ -149,6 +156,7 @@ jobs:
149156
name: Semantic release
150157
needs: [ build ]
151158
runs-on: ubuntu-latest
159+
timeout-minutes: 5
152160
steps:
153161
- uses: actions/checkout@v4
154162
- uses: actions/setup-node@v4

0 commit comments

Comments
 (0)