File tree Expand file tree Collapse file tree 2 files changed +16
-2
lines changed Expand file tree Collapse file tree 2 files changed +16
-2
lines changed Original file line number Diff line number Diff line change 16
16
sync-branches :
17
17
runs-on : ubuntu-latest
18
18
steps :
19
+ - name : Generate access token
20
+ id : generate-token
21
+ uses : actions/create-github-app-token@v2
22
+ with :
23
+ app-id : ${{ secrets.OAI_SPEC_PUBLISHER_APPID }}
24
+ private-key : ${{ secrets.OAI_SPEC_PUBLISHER_PRIVATE_KEY }}
25
+
19
26
- name : Checkout repository
20
27
uses : actions/checkout@v4
21
28
with :
41
48
--body "Merge \`$HEAD\` into \`$BASE\`."
42
49
done
43
50
env :
44
- GH_TOKEN : ${{ github .token }}
51
+ GH_TOKEN : ${{ steps.generate-token.outputs .token }}
45
52
HEAD : dev
Original file line number Diff line number Diff line change 16
16
sync-branch :
17
17
runs-on : ubuntu-latest
18
18
steps :
19
+ - name : Generate access token
20
+ id : generate-token
21
+ uses : actions/create-github-app-token@v2
22
+ with :
23
+ app-id : ${{ secrets.OAI_SPEC_PUBLISHER_APPID }}
24
+ private-key : ${{ secrets.OAI_SPEC_PUBLISHER_PRIVATE_KEY }}
25
+
19
26
- name : Checkout repository
20
27
uses : actions/checkout@v4
21
28
35
42
--title "$BASE: update from $HEAD" \
36
43
--body "Merge \`$HEAD\` into \`$BASE\`."
37
44
env :
38
- GH_TOKEN : ${{ github .token }}
45
+ GH_TOKEN : ${{ steps.generate-token.outputs .token }}
39
46
HEAD : main
40
47
BASE : dev
You can’t perform that action at this time.
0 commit comments