Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🌱 workflows: sync pull_request trigger types #127

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
name: Building and testing

on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
types: [opened, reopened, synchronize, ready_for_review]

jobs:
test:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/functional.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: Functional Tests

on:
pull_request:
types: [opened, reopened, synchronize, ready_for_review]

jobs:
test:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: golangci-lint

on:
pull_request:
types: [ opened, edited, synchronize, reopened ]
types: [opened, reopened, synchronize, ready_for_review]

jobs:
golangci-lint:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/pr-gh-workflow-approve.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ name: Approve GH Workflows

on:
pull_request_target:
types: [opened, edited, reopened, synchronize]
# edited is needed here as this workflow checks for PR meta content
types: [opened, edited, reopened, synchronize, ready_for_review]

permissions: {}

Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/pr-verifier.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ permissions: {}

on:
pull_request_target:
types: [opened, edited, reopened, synchronize]
# edited is needed here as this workflow checks for PR meta content
types: [opened, edited, reopened, synchronize, ready_for_review]

jobs:
verify:
Expand Down