Skip to content

Commit 3a2a80e

Browse files
committed
test: add test data for act
Signed-off-by: Yukai Huang <[email protected]>
1 parent 12d9812 commit 3a2a80e

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

.github/tests/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Test github actions with act
2+
3+
```bash
4+
act pull_request --container-architecture linux/arm64 -e .github/tests/pull-request.json -j ch
5+
eck-release-pr -P ubuntu-latest=catthehacker/ubuntu:act-latest
6+
```

.github/tests/pull-request.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"pull_request": {
3+
"head": {
4+
"ref": "release/1.2.3"
5+
},
6+
"base": {
7+
"ref": "master"
8+
}
9+
}
10+
}

0 commit comments

Comments
 (0)