Skip to content

Commit

Permalink
Merge pull request #90 from bmsteven/feature/test_branch
Browse files Browse the repository at this point in the history
New: implement new method of getting app version
  • Loading branch information
bmsteven authored Apr 25, 2022
2 parents 3a0ef2b + 727c336 commit a45491c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion action/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -62472,7 +62472,7 @@ const run = async () => {
const branches = await octokit.rest.repos.listBranches({
owner: context.payload?.repository?.owner?.login,
repo: context.payload?.repository?.name,
}); // if exists delete
});
console.log(branch_to_delete, branches);
if (
branches?.data?.find((el) => el?.name === branch_to_delete) &&
Expand Down
2 changes: 1 addition & 1 deletion src/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ const run = async () => {
const branches = await octokit.rest.repos.listBranches({
owner: context.payload?.repository?.owner?.login,
repo: context.payload?.repository?.name,
}); // if exists delete
});
console.log(branch_to_delete, branches);
if (
branches?.data?.find((el) => el?.name === branch_to_delete) &&
Expand Down

0 comments on commit a45491c

Please sign in to comment.