Skip to content

Commit bd07108

Browse files
committed
Add Pull Request CI (Snapshot) to support PRs from external contributors
1 parent d983ff9 commit bd07108

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

.github/workflows/pull_request_ci.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Pull Request CI (Snapshot)
2+
3+
on:
4+
pull_request:
5+
types:
6+
- opened
7+
- synchronize
8+
- reopened
9+
10+
jobs:
11+
build:
12+
permissions:
13+
contents: read
14+
uses: ./.github/workflows/build.yml
15+
16+
event_file:
17+
needs: build
18+
name: "Event File"
19+
runs-on: ubuntu-latest
20+
steps:
21+
- name: Upload
22+
uses: actions/upload-artifact@v4
23+
with:
24+
name: Event File
25+
path: ${{ github.event_path }}

.github/workflows/test_results.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
workflow_run:
55
workflows:
66
- "Branch CI (Snapshot)"
7+
- "Pull Request CI (Snapshot)"
78
types:
89
- completed
910

0 commit comments

Comments
 (0)