Skip to content

Commit

Permalink
no log
Browse files Browse the repository at this point in the history
  • Loading branch information
benpankow committed Jul 10, 2024
1 parent ca52f77 commit a32be0e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions actions/hybrid_branch_deploy/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ runs:
id: get_shas
run: |
echo "SHAS<<EOF" >> $GITHUB_OUTPUT
echo "$(git rev-list --ancestry-path cd2a864d09faa69900bff468f0f78d7e630ff87b..${{ github.event.pull_request.head.sha }})" >> $GITHUB_OUTPUT
git rev-list --ancestry-path cd2a864d09faa69900bff468f0f78d7e630ff87b..${{ github.event.pull_request.head.sha }} >> $GITHUB_OUTPUT
echo "EOF" >> $GITHUB_OUTPUT
shell: bash

Expand All @@ -54,9 +54,8 @@ runs:
owner: context.repo.owner,
repo: context.repo.repo,
});
console.log(pr);
if (pr.data.length > 0) {
pullRequests.push(...pr.data);
pullRequests.push(...pr.data.map(p => p.number));
}
}
console.log(pullRequests);
Expand Down

0 comments on commit a32be0e

Please sign in to comment.