fix: Add custom directories

This commit is contained in:
jklattenhoff 2025-06-16 12:31:34 +02:00
commit 6417ba29bc
Signed by: jank
GPG key ID: 22BEAC760B3333D6
3 changed files with 6 additions and 2 deletions

View file

@ -12,3 +12,7 @@ inputs:
description: "Will not delete any existing labels and will only modify / create them" description: "Will not delete any existing labels and will only modify / create them"
required: false required: false
default: false default: false
config:
description: "Path of the labels json"
required: false
default: .github

BIN
bun.lockb Executable file

Binary file not shown.

View file

@ -9,8 +9,8 @@ const octokit = github.getOctokit(accessToken);
async function run() { async function run() {
let newLabelsUrl = path.join( let newLabelsUrl = path.join(
process.env["GITHUB_WORKSPACE"], process.env["GITHUB_WORKSPACE"],
".github", core.getInput("config"),
"labels.json" "labels.json",
); );
if (!core.getBooleanInput("delete")) { if (!core.getBooleanInput("delete")) {