Skip to content

Commit a71fe67

Browse files
committed
Add GITHUB_TOKEN to action
1 parent 4cdc7e4 commit a71fe67

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.github/workflows/changerelease.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,5 @@ jobs:
1212
steps:
1313
- uses: actions/checkout@v2
1414
- uses: dropseed/changerelease@master
15+
with:
16+
github_token: ${{ secrets.GITHUB_TOKEN }}

action.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,13 @@ inputs:
55
description: 'Path to your CHANGELOG'
66
required: false
77
default: 'CHANGELOG.md'
8+
github_token:
9+
description: "A GitHub token that can create and modify releases"
10+
required: true
811
runs:
912
using: docker
1013
image: Dockerfile
1114
args:
1215
- --changelog ${{ inputs.changelog }}
16+
env:
17+
GITHUB_TOKEN: ${{ inputs.github_token }}

0 commit comments

Comments
 (0)