fix: Add custom directories
This commit is contained in:
parent
e8dbcd8198
commit
6417ba29bc
3 changed files with 6 additions and 2 deletions
|
@ -12,3 +12,7 @@ inputs:
|
|||
description: "Will not delete any existing labels and will only modify / create them"
|
||||
required: false
|
||||
default: false
|
||||
config:
|
||||
description: "Path of the labels json"
|
||||
required: false
|
||||
default: .github
|
||||
|
|
BIN
bun.lockb
Executable file
BIN
bun.lockb
Executable file
Binary file not shown.
4
index.js
4
index.js
|
@ -9,8 +9,8 @@ const octokit = github.getOctokit(accessToken);
|
|||
async function run() {
|
||||
let newLabelsUrl = path.join(
|
||||
process.env["GITHUB_WORKSPACE"],
|
||||
".github",
|
||||
"labels.json"
|
||||
core.getInput("config"),
|
||||
"labels.json",
|
||||
);
|
||||
|
||||
if (!core.getBooleanInput("delete")) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue