Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
duncanmcclean committed Nov 20, 2021
1 parent 2c12d78 commit 7bea81a
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ jobs:
steps:
- uses: actions/checkout@v2
- uses: ./
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
version: v1.0.0
changelog: 'Brand new feature #8'
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3 changes: 0 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ inputs:
changelog:
description: 'Body of the Release Changelog'
required: true
GITHUB_TOKEN:
description: comon please work and gimme the gh token
required: true
runs:
using: 'node12'
main: 'dist/index.js'
2 changes: 1 addition & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const github = require('@actions/github');

exports.main = async function main() {
try {
const octokit = github.getOctokit(core.getInput('GITHUB_TOKEN'))
const octokit = github.getOctokit(process.env.GITHUB_TOKEN)

const version = core.getInput('version')
const changelogBody = core.getInput('changelog')
Expand Down

0 comments on commit 7bea81a

Please sign in to comment.