Skip to content

Commit

Permalink
Merge pull request #127 from Nordix/tuomo/cleanup-workflow-trigger-types
Browse files Browse the repository at this point in the history
🌱 workflows: sync pull_request trigger types
  • Loading branch information
metal3-io-bot authored Feb 11, 2025
2 parents 92a441f + 70dc65c commit 00a9f4e
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
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

0 comments on commit 00a9f4e

Please sign in to comment.