Added the branch info.
All checks were successful
Auto Maintenance Cycle / pre-commit Autoupdate (push) Successful in 38s

This commit is contained in:
Philipp Horstenkamp 2023-11-19 12:40:09 +01:00
parent 0da1631bbc
commit 8e65a33d3e
Signed by: Philipp
GPG Key ID: DD53EAC36AFB61B4
2 changed files with 4 additions and 1 deletions

View File

@ -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

View File

@ -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");