Skip to content

Commit

Permalink
test: add test data for act
Browse files Browse the repository at this point in the history
Signed-off-by: Yukai Huang <[email protected]>
  • Loading branch information
Yukaii committed Jan 7, 2024
1 parent 12d9812 commit 3a2a80e
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/tests/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Test github actions with act

```bash
act pull_request --container-architecture linux/arm64 -e .github/tests/pull-request.json -j ch
eck-release-pr -P ubuntu-latest=catthehacker/ubuntu:act-latest
```
10 changes: 10 additions & 0 deletions .github/tests/pull-request.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"pull_request": {
"head": {
"ref": "release/1.2.3"
},
"base": {
"ref": "master"
}
}
}

0 comments on commit 3a2a80e

Please sign in to comment.