Skip to content

Commit

Permalink
Merge pull request kubernetes-sigs#1185 from stevehipwell/fix-gh-work…
Browse files Browse the repository at this point in the history
…flow-approval

Fixed bad syntax in GH action workflow approval
  • Loading branch information
serathius authored Feb 1, 2023
2 parents 51e8aa8 + 75ffe1d commit 1015e72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/gh-workflow-approve.yaml
Original file line number Diff line number Diff line change
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 1015e72

Please sign in to comment.