Skip to content

Commit dbacfd1

Browse files
committed
Use workflow token in docgen scheduler
1 parent f2b47d1 commit dbacfd1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/docgen-scheduler.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: DocGen Scheduler
22

33
on:
44
workflow_dispatch:
5-
schedule:
5+
schedule:
66
- cron: '0 1 * * 1-5'
77

88
jobs:
@@ -33,7 +33,7 @@ jobs:
3333
curl \
3434
-X POST \
3535
-H "Accept: application/vnd.github.v3+json" \
36-
-H "Authorization: Bearer ${{ secrets.DXROBOT_PAT }}" \
36+
-H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
3737
https://api.github.com/repos/${{ github.repository }}/actions/workflows/$WORKFLOW_ID/dispatches \
3838
-d '{"ref":"'$REF'"}'
3939
fi

0 commit comments

Comments
 (0)