Used inputs

This commit is contained in:
2024-12-27 14:55:25 +01:00
parent 758107ea92
commit d01c31d6c2
3 changed files with 19825 additions and 8 deletions

5
app.ts
View File

@@ -1,10 +1,11 @@
import { spawn } from "child_process";
import { ChildProcess, SpawnOptions } from "node:child_process";
import * as core from '@actions/core';
// Ignored branches
const IGNORED_BRANCHES = ["master", "main", "dev", "release"];
const IGNORED_BRANCHES: string[] = core.getInput('branchesToIgnore', { required: false }).split(",");
const mainBranch = "dev";
const mainBranch: string = core.getInput('mainBranch', { required: false });
enum Action {
Rebase = 0,