Skip to content

Commit

Permalink
tmp [no ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
GeneralTao2 committed Oct 3, 2024
1 parent 0ed0837 commit 76238a1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ jobs:
with:
github-token: ${{ secrets.APPROVE_WORKFLOW_GITHUB_TOKEN }}
script: |
const util = require('util')
const passingObj = {
owner: context.repo.owner,
repo: context.repo.repo,
Expand All @@ -55,11 +56,11 @@ jobs:
comment: 'Ship it!',
};
console.log(passingObj);
console.log(await github.rest.actions.getPendingDeploymentsForRun({
console.log(util.inspect(await github.rest.actions.getPendingDeploymentsForRun({
owner: context.repo.owner,
repo: context.repo.repo,
run_id: context.runId,
}));
}), false, null, true /* enable colors */))
await github.rest.actions.reviewPendingDeploymentsForRun(passingObj);
Expand Down

0 comments on commit 76238a1

Please sign in to comment.