File tree Expand file tree Collapse file tree 2 files changed +33
-0
lines changed Expand file tree Collapse file tree 2 files changed +33
-0
lines changed Original file line number Diff line number Diff line change 1+ name : ' Handle PR Pushes'
2+ description : ' Handles when a PR was pushed'
3+ author : ' Johannes Schindelin'
4+ inputs :
5+ pr-repo-token :
6+ description : ' The access token to work on the repository that holds PRs and state'
7+ required : true
8+ upstream-repo-token :
9+ description : ' The access token to work on PRs in the upstream repository'
10+ required : true
11+ test-repo-token :
12+ description : ' The access token to work on PRs in the test repository'
13+ required : true
14+ pr-url :
15+ description : ' The URL of the PR that was pushed'
16+ required : true
17+ runs :
18+ using : ' node20'
19+ main : ' ./index.js'
20+ branding :
21+ icon : ' git-commit'
22+ color : ' orange'
Original file line number Diff line number Diff line change 1+ async function run ( ) {
2+ const { CIHelper } = await import ( "../dist/index.js" )
3+
4+ const ci = new CIHelper ( )
5+ const { owner, prNumber } = ci . parsePRURLInput ( )
6+
7+ await ci . setupGitHubAction ( )
8+ await ci . handlePush ( owner , prNumber )
9+ }
10+
11+ run ( )
You can’t perform that action at this time.
0 commit comments