Skip to content

Commit 45d0f20

Browse files
committed
ci: remove on push triggers and add concurrency
1 parent f2e5f3e commit 45d0f20

File tree

2 files changed

+6
-15
lines changed

2 files changed

+6
-15
lines changed

.github/workflows/backend-lint-test.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,15 @@
11
---
22
name: "Backend verify"
33
on:
4-
push:
5-
tags:
6-
- v*
7-
branches:
8-
- master
9-
paths:
10-
- 'backend/**.go'
11-
- 'backend/go.mod'
12-
- '.github/workflows/backend-lint-test.yml'
134
pull_request:
145
paths:
156
- 'backend/**.go'
167
- 'backend/go.mod'
178
- '.github/workflows/backend-lint-test.yml'
189
workflow_call:
10+
concurrency:
11+
group: backend-verify-${{ github.head_ref || github.ref }}
12+
cancel-in-progress: true
1913
permissions:
2014
contents: read
2115
jobs:

.github/workflows/frontend-verify.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,14 @@
11
---
22
name: "Frontend Lint & Compile check"
33
on:
4-
push:
5-
branches:
6-
- master
7-
paths:
8-
- "frontend/**"
9-
- ".github/workflows/frontend-verify.yml"
104
pull_request:
115
paths:
126
- "frontend/**"
137
- ".github/workflows/frontend-verify.yml"
148
workflow_call:
9+
concurrency:
10+
group: frontend-verify-${{ github.head_ref || github.ref }}
11+
cancel-in-progress: true
1512
env:
1613
CI: true
1714
jobs:

0 commit comments

Comments
 (0)