Skip to content

Commit

Permalink
v7 syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
pelikhan committed Aug 19, 2024
1 parent 5e2e891 commit 37a32ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/genai-commander.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
const permissions = await github.repos.getCollaboratorPermissionLevel({ owner, repo, username });
const userPermissions = permissions.data.user.permissions
// if (!userPermissions.triage) {
await github.rest.actions.cancelWorkflowRun({ owner, repo, run_id: context.runId});
await github.actions.cancelWorkflowRun({ owner, repo, run_id: context.runId});
throw `comment author '${username}' does not have 'triage' permissions`
//}
- name: resolve pr sha
Expand Down

0 comments on commit 37a32ee

Please sign in to comment.