We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent acb2c3d commit 3fd57e1Copy full SHA for 3fd57e1
.github/workflows/release-drafter.yml
@@ -3,8 +3,10 @@ name: 'Draft next Release notes'
3
on:
4
workflow_call:
5
secrets:
6
+ BOT_TOKEN:
7
+ required: false
8
GITHUB_TOKEN:
- required: true
9
10
push:
11
# branches to consider in the event; optional, defaults to all
12
branches:
@@ -31,4 +33,4 @@ jobs:
31
33
# config-name: my-config.yml
32
34
# disable-autolabeler: true
35
env:
- GITHUB_TOKEN: ${{ secrets.BOT_TOKEN }}
36
+ GITHUB_TOKEN: ${{ secrets.BOT_TOKEN || secrets.GITHUB_TOKEN }}
0 commit comments