mirror of
https://github.com/kubernetes-sigs/external-dns.git
synced 2025-08-23 18:01:00 +02:00
Merge pull request #3350 from stevehipwell/fix-gh-action-workflow-approve
Fixed bad syntax in GH action workflow approval
This commit is contained in:
commit
ebf35f337d
3
.github/workflows/gh-workflow-approve.yaml
vendored
3
.github/workflows/gh-workflow-approve.yaml
vendored
@ -18,11 +18,12 @@ jobs:
|
||||
steps:
|
||||
- name: Update PR
|
||||
uses: actions/github-script@d556feaca394842dc55e4734bf3bb9f685482fa0 # v6.3.3
|
||||
continue-on-error: true
|
||||
with:
|
||||
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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user