File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,21 +2,8 @@ name: Automatic Rebase
22
33on : [pull_request_target]
44
5- permissions :
6- contents : read
7-
85jobs :
96 _ :
10- permissions :
11- contents : write # for ljharb/rebase to push code to rebase
12- pull-requests : read # for ljharb/rebase to get info about PR
13-
14- name : " Automatic Rebase"
15-
16- runs-on : ubuntu-latest
17-
18- steps :
19- - uses : actions/checkout@v3
20- - uses : ljharb/rebase@master
21- env :
22- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
7+ uses : ljharb/actions/.github/workflows/rebase.yml@main
8+ secrets :
9+ token : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 1616 "pretest" : " npm run lint" ,
1717 "tests-only" : " tape 'test/**/*.js'" ,
1818 "test" : " npm run tests-only" ,
19- "posttest" : " aud --production" ,
19+ "posttest" : " npx npm@'>=10.2' audit --production" ,
2020 "version" : " auto-changelog && git add CHANGELOG.md" ,
2121 "postversion" : " auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \" v$(node -e \" console.log(require('./package.json').version)\" )\" "
2222 },
4444 },
4545 "devDependencies" : {
4646 "@ljharb/eslint-config" : " ^21.1.0" ,
47- "aud" : " ^2.0.3" ,
4847 "auto-changelog" : " ^2.4.0" ,
4948 "eslint" : " =8.8.0" ,
5049 "evalmd" : " ^0.0.19" ,
You can’t perform that action at this time.
0 commit comments