mirror of
https://github.com/ButlerLogic/action-autotag.git
synced 2024-11-24 17:21:07 +07:00
WIP
This commit is contained in:
parent
3f4bae1fc4
commit
e9081bf57f
@ -5,8 +5,8 @@ import gh from '@actions/github'
|
||||
// Get authenticated GitHub client (Ocktokit): https://github.com/actions/toolkit/tree/master/packages/github#usage
|
||||
const github = new gh.GitHub(process.env.GITHUB_TOKEN || process.env.INPUT_GITHUB_TOKEN)
|
||||
// Get owner and repo from context of payload that triggered the action
|
||||
const { owner, repo } = gh.context
|
||||
core.warning(`Owner: ${owner}, Repository: ${JSON.stringify(repo)}`)
|
||||
const { owner, repo } = gh.context.repo
|
||||
|
||||
export default class Tag {
|
||||
constructor (prefix, version, postfix) {
|
||||
this.prefix = prefix
|
||||
|
Loading…
Reference in New Issue
Block a user