File tree Expand file tree Collapse file tree 1 file changed +3
-21
lines changed Expand file tree Collapse file tree 1 file changed +3
-21
lines changed Original file line number Diff line number Diff line change 32
32
required : true
33
33
type : string
34
34
secrets :
35
- BOT_ID :
36
- required : true
37
- BOT_SK :
38
- required : true
39
35
APPLE_CERTIFICATE :
40
36
required : true
41
37
APPLE_CERTIFICATE_PASSWORD :
@@ -77,24 +73,10 @@ jobs:
77
73
platform : [ubuntu-22.04, windows-latest, macos-13, macos-14]
78
74
79
75
steps :
80
- - name : Generate bot token
81
- uses : actions/create-github-app-token@v1
82
- id : app_token
83
- with :
84
- app-id : ${{ secrets.BOT_ID }}
85
- private-key : ${{ secrets.BOT_SK }}
86
-
87
- - name : Debug app token
88
- run : |
89
- echo "App token length: ${#APP_TOKEN}"
90
- echo "First 4 characters: ${APP_TOKEN:0:4}..."
91
- env :
92
- APP_TOKEN : ${{ steps.app_token.outputs.token }}
93
-
94
76
- uses : actions/checkout@v4
95
77
with :
96
- # Use bot token for authenticated operations
97
- token : ${{ steps.app_token.outputs.token }}
78
+ # Use GitHub token for authenticated operations
79
+ token : ${{ secrets.GITHUB_TOKEN }}
98
80
fetch-depth : 0
99
81
100
82
- name : Setup node
108
90
- name : Install npm dependencies
109
91
run : npm ci --ignore-scripts
110
92
env :
111
- NODE_AUTH_TOKEN : ${{ steps.app_token.outputs.token }}
93
+ NODE_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
112
94
113
95
# Let scripts run without the token
114
96
- run : npm rebuild
You can’t perform that action at this time.
0 commit comments