File tree 1 file changed +9
-7
lines changed
1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change 20
20
pull-requests: write
21
21
actions: write
22
22
steps:
23
+ - name: Generate a token
24
+ id: generate-token
25
+ uses: actions/create-github-app-token@v1
26
+ with:
27
+ app-id: ${{ secrets.DOCS_APP_ID }}
28
+ private-key: ${{ secrets.DOCS_APP_PRIVATE_KEY }}
29
+
23
30
- name: 'Checkout'
24
31
uses: actions/checkout@v3
32
+ with:
33
+ token: ${{ steps.generate-token.outputs.token }}
25
34
26
35
- name: 'Install crdoc'
27
36
run: |-
63
72
sed -E -i 's/^<sup><sup>\[↩ Parent\]\(#redisenterpriseremotecluster/<sup><sup>\[↩ Parent\]\(#/g' artifacts/redis_enterprise_remote_cluster.md
64
73
sed -E -i 's/<td><b><a href="#redisenterpriseremotecluster/<td><b><a href="#/' artifacts/redis_enterprise_remote_cluster.md
65
74
66
- - name: Generate a token
67
- id: generate-token
68
- uses: actions/create-github-app-token@v1
69
- with:
70
- app-id: ${{ secrets.DOCS_APP_ID }}
71
- private-key: ${{ secrets.DOCS_APP_PRIVATE_KEY }}
72
-
73
75
- name: 'Send pull request'
74
76
env:
75
77
GH_TOKEN: ${{ steps.generate-token.outputs.token }}
You can’t perform that action at this time.
0 commit comments