Skip to content

Commit

Permalink
chore: Fixed bad syntax in GH action workflow approval
Browse files Browse the repository at this point in the history
Signed-off-by: Steve Hipwell <steve.hipwell@gmail.com>
  • Loading branch information
stevehipwell committed Jan 31, 2023
1 parent 0e18476 commit 58072c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/gh-workflow-approve.yaml
Expand Up @@ -22,7 +22,7 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}
debug: ${{ secrets.ACTIONS_RUNNER_DEBUG }}
script: |
const workflowRuns = await octokit.rest.actions.listWorkflowRunsForRepo({
const workflowRuns = await github.rest.actions.listWorkflowRunsForRepo({
owner: context.repo.owner,
repo: context.repo.repo,
event: "pull_request",
Expand Down

0 comments on commit 58072c0

Please sign in to comment.