Added the branch info.
All checks were successful
Auto Maintenance Cycle / pre-commit Autoupdate (push) Successful in 38s
All checks were successful
Auto Maintenance Cycle / pre-commit Autoupdate (push) Successful in 38s
This commit is contained in:
parent
0da1631bbc
commit
8e65a33d3e
@ -3,7 +3,7 @@ description: Creates a pull request for a branch if it does not already exist
|
||||
inputs:
|
||||
github_token:
|
||||
description: GitHub token for authentication
|
||||
required: true
|
||||
required: false
|
||||
branch:
|
||||
description: Branch for which to create the PR
|
||||
required: true
|
||||
|
3
index.js
3
index.js
@ -15,6 +15,9 @@ async function getAndPostPullRequests() {
|
||||
core.getInput("repo") || process.env.GITHUB_REPOSITORY.split("/")[1];
|
||||
core.info(`Repository Name: ${repo}`);
|
||||
|
||||
const branch = core.getInput("branch");
|
||||
core.info(`The branch ${branch} should be merged.`);
|
||||
|
||||
// core.info(`Post Data: ${JSON.stringify(postData)}`);
|
||||
|
||||
const githubToken = core.getInput("github_token");
|
||||
|
Loading…
x
Reference in New Issue
Block a user