Skip to content

Commit 9c18d9b

Browse files
committed
wip
1 parent 4c84a79 commit 9c18d9b

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/struct-generate.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@ on:
4343
type: string
4444
required: false
4545
default: 'ubuntu-latest'
46+
secrets:
47+
github-token:
48+
description: 'GitHub token'
49+
required: true
4650

4751
jobs:
4852
run:
@@ -71,7 +75,7 @@ jobs:
7175
if: github.event_name == 'workflow_dispatch'
7276
uses: peter-evans/create-pull-request@v7
7377
with:
74-
token: ${{ secrets.GITHUB_TOKEN }}
78+
token: ${{ secrets.github-token }}
7579
commit-message: ${{ inputs.pr_title }}
7680
title: ${{ inputs.pr_title }}
7781
body: |

0 commit comments

Comments
 (0)