Skip to content

Commit

Permalink
Merge pull request #202 from WordPress/add/release-branch-support
Browse files Browse the repository at this point in the history
Run all relevant GitHub workflows for release branches as well
  • Loading branch information
felixarntz authored Mar 3, 2022
2 parents 638108e + 02a08a5 commit 751e4bd
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/js-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- trunk
- 'release/**'
# Only run if JS/JSON/Lint/NVM files changed.
paths:
- '.github/workflows/js-lint.yml'
Expand All @@ -16,6 +17,7 @@ on:
pull_request:
branches:
- trunk
- 'release/**'
# Only run if JS/JSON/Lint/NVM files changed.
paths:
- '.github/workflows/js-lint.yml'
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/php-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- trunk
- 'release/**'
# Only run if PHP-related files changed.
paths:
- '.github/workflows/php-lint.yml'
Expand All @@ -14,6 +15,7 @@ on:
pull_request:
branches:
- trunk
- 'release/**'
# Only run if PHP-related files changed.
paths:
- '.github/workflows/php-lint.yml'
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/php-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- trunk
- 'release/**'
# Only run if PHP-related files changed.
paths:
- '.github/workflows/php-test.yml'
Expand All @@ -15,6 +16,7 @@ on:
pull_request:
branches:
- trunk
- 'release/**'
# Only run if PHP-related files changed.
paths:
- '.github/workflows/php-test.yml'
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/pr-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
pull_request:
branches:
- trunk
- 'release/**'
types:
- labeled
- unlabeled
Expand Down

0 comments on commit 751e4bd

Please sign in to comment.