Skip to content

Commit c67dc4d

Browse files
committed
add git action check
1 parent acaff51 commit c67dc4d

4 files changed

Lines changed: 53 additions & 2 deletions

File tree

.github/workflows/codeql.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: 🚨 CodeQL Analysis
22

33
on:
4+
workflow_call:
45
pull_request:
56
paths:
67
- "**.*"

.github/workflows/pr-review.yml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
name: 🔍 PR Review
2+
3+
on:
4+
pull_request:
5+
paths:
6+
- "**.*"
7+
push:
8+
branches:
9+
- develop
10+
11+
permissions:
12+
id-token: write
13+
packages: write
14+
contents: write
15+
security-events: write
16+
actions: read
17+
18+
jobs:
19+
codeql:
20+
name: 🚨 CodeQL Analysis
21+
uses: ./.github/workflows/codeql.yml
22+
secrets: inherit
23+
24+
release-test:
25+
name: 🔨 Release Test
26+
uses: ./.github/workflows/release-test.yml
27+
secrets: inherit
28+
29+
verify:
30+
name: 🙏🏻 Verify
31+
uses: ./.github/workflows/verify.yml
32+
secrets: inherit
33+
34+
check:
35+
name: ✅ Check
36+
if: always()
37+
needs:
38+
- codeql
39+
- release-test
40+
- verify
41+
42+
runs-on: ubuntu-latest
43+
44+
steps:
45+
- name: Require all jobs to succeed
46+
uses: re-actors/alls-green@release/v1
47+
with:
48+
jobs: ${{ toJSON(needs) }}

.github/workflows/release-test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: 🔨 Release Test
22

33
on:
4+
workflow_call:
45
pull_request:
56
paths:
67
- "**/*"

.github/workflows/verify.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
name: 🙏🏻 Verify
22

33
on:
4+
workflow_call:
45
pull_request:
56
paths:
6-
- "**.*"
7+
- "**/*"
78
push:
89
branches:
9-
- develop
10+
- main
1011

1112
env:
1213
GO_VERSION: "1.26"

0 commit comments

Comments
 (0)