Added back the token in a usable way

This commit is contained in:
Auto Rebase
2025-01-09 13:53:58 +01:00
parent f61c87e29e
commit 0ebb8c903d
3 changed files with 8 additions and 2 deletions

4
app.ts
View File

@@ -8,7 +8,9 @@ const IGNORED_BRANCHES: string[] = core.getInput('branchesToIgnore', { required:
const mainBranch: string = `origin/${ core.getInput('mainBranch', { required: false }) }`;
const { CI_TOKEN, GITHUB_SERVER_URL } = process.env;
const CI_TOKEN: string = core.getInput('ciToken', { required: false });
const { GITHUB_SERVER_URL } = process.env;
enum Action {
Rebase = 0,