Skip to content

Commit

Permalink
Fix: workflows to target correct branch
Browse files Browse the repository at this point in the history
  • Loading branch information
awcodes committed Sep 29, 2023
1 parent 8db5159 commit 9e26ebe
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build-assets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: "Build assets"

on:
pull_request:
branches:
- 2.x
types:
- closed

Expand All @@ -12,6 +14,8 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}

- name: Setup Node
uses: actions/setup-node@v3
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/fix-php-code-styling.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: "Fix PHP code styling"

on:
pull_request:
branches:
- 2.x
types:
- closed

Expand All @@ -13,6 +15,8 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}

- name: Fix PHP code style issues
uses: aglipanci/[email protected]
Expand Down

0 comments on commit 9e26ebe

Please sign in to comment.