Skip to content

Commit

Permalink
Update github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
mckenziearts committed Jan 9, 2024
1 parent 502573a commit d0bc4f3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/npm-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: npm-build
on:
pull_request:
branches:
- main
- 2.x
types: [closed]

jobs:
Expand All @@ -12,7 +12,7 @@ jobs:
if: github.event.pull_request.merged == true
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
ref: 2.x

Expand All @@ -30,6 +30,6 @@ jobs:
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
branch: main
branch: 2.x
commit_message: >
chore: Compile assets
11 changes: 6 additions & 5 deletions .github/workflows/pint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,17 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}

- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.3
- name: Install Composer
run: composer install

run: composer install --no-interaction
- name: Run Laravel Pint
run: composer pint

- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
Expand Down

0 comments on commit d0bc4f3

Please sign in to comment.