File tree Expand file tree Collapse file tree 2 files changed +27
-0
lines changed
update-mail-to-commit-notes Expand file tree Collapse file tree 2 files changed +27
-0
lines changed Original file line number Diff line number Diff line change 1+ name : ' Update the mail <-> commit notes'
2+ description : ' Updates the mapping between commits and patch emails, stored in the `mail-to-commit` and `commit-to-mail` Git notes refs.'
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+ runs :
9+ using : ' node20'
10+ main : ' ./index.js'
11+ branding :
12+ icon : ' git-commit'
13+ 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+
6+ await ci . setupGitHubAction ( {
7+ needsMailingListMirror : true ,
8+ needsUpstreamBranches : true ,
9+ needsMailToCommitNotes : true ,
10+ } )
11+ await ci . updateMailToCommitNotes ( )
12+ }
13+
14+ run ( )
You can’t perform that action at this time.
0 commit comments