Skip to content

Commit

Permalink
Exp
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Büringer [email protected]
  • Loading branch information
sbueringer committed May 7, 2024
1 parent cc5e568 commit 7a7c8cb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/pr-gh-workflow-approve.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,9 @@ jobs:
per_page: 100
});
for (var run of result.data.workflow_runs) {
await github.rest.actions.approveWorkflowRun({
owner: context.repo.owner,
repo: context.repo.repo,
run_id: run.id
});
}
await github.rest.actions.createWorkflowDispatch({
context.repo.owner,
context.repo.repo,
"lint",
context.ref
});
1 change: 1 addition & 0 deletions .github/workflows/pr-golangci-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: PR golangci-lint
on:
pull_request:
types: [opened, edited, synchronize, reopened]
workflow_dispatch:

# Remove all permissions from GITHUB_TOKEN except metadata.
permissions: {}
Expand Down

0 comments on commit 7a7c8cb

Please sign in to comment.