Commit ab53d9a 1 parent bceb8ac commit ab53d9a Copy full SHA for ab53d9a
File tree 1 file changed +4
-8
lines changed
1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change 8
8
prerelease :
9
9
runs-on : ubuntu-latest
10
10
environment :
11
- name : prod
11
+ name : dev
12
12
url : https://www.npmjs.com/package/junit2json
13
13
permissions :
14
14
contents : write
@@ -26,18 +26,12 @@ jobs:
26
26
github-token : ${{ secrets.GITHUB_TOKEN }}
27
27
- uses : actions/checkout@v4
28
28
29
- # Use GitHub App for bypassing ruleset guard when git push by npm publish
30
- - uses : actions/create-github-app-token@v1
31
- id : app-token
32
- with :
33
- app-id : ${{ secrets.BYPASS_APP_ID }}
34
- private-key : ${{ secrets.BYPASS_APP_PRIVATE_KEY }}
35
29
# npm publish and push updated package.json
36
30
- name : PrePublish
37
31
run : |
38
32
npm run release:prepublish
39
33
env :
40
- GITHUB_TOKEN : ${{ steps.app-token.outputs.token }}
34
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
41
35
NODE_AUTH_TOKEN : ${{ secrets.NODE_AUTH_TOKEN }}
42
36
43
37
- name : Commit and push changes
48
42
git add package*.json
49
43
git commit -m "debug: npm run release:prepublish"
50
44
git push
45
+ env :
46
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments