Skip to content

Commit 2c0901a

Browse files
committed
chore: wip
1 parent 8173c3b commit 2c0901a

File tree

3 files changed

+89
-89
lines changed

3 files changed

+89
-89
lines changed
Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,37 @@
11
name: Dependabot auto-merge
22

33
on:
4-
pull_request_target:
5-
branches:
6-
- feature/golden-path
4+
pull_request_target:
5+
branches:
6+
- feature/golden-path
77

88
permissions:
9-
pull-requests: write
10-
contents: write
9+
pull-requests: write
10+
contents: write
1111

1212
jobs:
13-
dependabot:
14-
runs-on: ubuntu-latest
15-
timeout-minutes: 5
16-
if: ${{ github.actor == 'dependabot[bot]' }}
17-
steps:
13+
dependabot:
14+
runs-on: ubuntu-latest
15+
timeout-minutes: 5
16+
if: ${{ github.actor == 'dependabot[bot]' }}
17+
steps:
1818

19-
- name: Dependabot metadata
20-
id: metadata
21-
uses: dependabot/[email protected]
22-
with:
23-
github-token: "${{ secrets.GITHUB_TOKEN }}"
19+
- name: Dependabot metadata
20+
id: metadata
21+
uses: dependabot/[email protected]
22+
with:
23+
github-token: "${{ secrets.GITHUB_TOKEN }}"
2424

25-
- name: Auto-merge Dependabot PRs for semver-minor updates
26-
if: ${{steps.metadata.outputs.update-type == 'version-update:semver-minor'}}
27-
run: gh pr merge --auto --merge "$PR_URL"
28-
env:
29-
PR_URL: ${{github.event.pull_request.html_url}}
30-
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
25+
- name: Auto-merge Dependabot PRs for semver-minor updates
26+
if: ${{steps.metadata.outputs.update-type == 'version-update:semver-minor'}}
27+
run: gh pr merge --auto --merge "$PR_URL"
28+
env:
29+
PR_URL: ${{github.event.pull_request.html_url}}
30+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
3131

32-
- name: Auto-merge Dependabot PRs for semver-patch updates
33-
if: ${{steps.metadata.outputs.update-type == 'version-update:semver-patch'}}
34-
run: gh pr merge --auto --merge "$PR_URL"
35-
env:
36-
PR_URL: ${{github.event.pull_request.html_url}}
37-
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
32+
- name: Auto-merge Dependabot PRs for semver-patch updates
33+
if: ${{steps.metadata.outputs.update-type == 'version-update:semver-patch'}}
34+
run: gh pr merge --auto --merge "$PR_URL"
35+
env:
36+
PR_URL: ${{github.event.pull_request.html_url}}
37+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,43 @@
11
name: Fix code style issues
22

33
on:
4-
push:
5-
branches:
6-
- feature/golden-path
7-
paths:
8-
- '**.php'
9-
- '**.tsx'
10-
- '**.ts'
4+
push:
5+
branches:
6+
- feature/golden-path
7+
paths:
8+
- '**.php'
9+
- '**.vue'
10+
- '**.ts'
1111

1212
permissions:
13-
contents: write
13+
contents: write
1414

1515
jobs:
16-
php-code-styling:
17-
runs-on: ubuntu-latest
18-
timeout-minutes: 5
19-
20-
steps:
21-
- name: Checkout code
22-
uses: actions/checkout@v4
23-
with:
24-
ref: ${{ github.head_ref }}
25-
26-
- name: Install Dependencies
27-
run: |
28-
composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
29-
npm install
30-
31-
- name: Fix PHP code style issues
32-
uses: aglipanci/[email protected]
33-
34-
- name: Fix JS code style issues
35-
run: npm run fmt
36-
37-
- name: Fix JS lint issues
38-
run: npm run lint
39-
40-
- name: Commit changes
41-
uses: stefanzweifel/git-auto-commit-action@v5
42-
with:
43-
commit_message: Fix styling
16+
php-code-styling:
17+
runs-on: ubuntu-latest
18+
timeout-minutes: 5
19+
20+
steps:
21+
- name: Checkout code
22+
uses: actions/checkout@v4
23+
with:
24+
ref: ${{ github.head_ref }}
25+
26+
- name: Install Dependencies
27+
run: |
28+
composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
29+
npm install
30+
31+
- name: Fix PHP code style issues
32+
uses: aglipanci/[email protected]
33+
34+
- name: Fix JS code style issues
35+
run: npm run fmt
36+
37+
- name: Fix JS lint issues
38+
run: npm run lint
39+
40+
- name: Commit changes
41+
uses: stefanzweifel/git-auto-commit-action@v5
42+
with:
43+
commit_message: Fix styling

.github/workflows/run-ci.yml

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,35 @@
11
name: Run CI
22

33
on:
4-
push:
5-
branches:
6-
- feature/golden-path
7-
pull_request:
8-
branches:
9-
- feature/golden-path
4+
push:
5+
branches:
6+
- feature/golden-path
7+
pull_request:
8+
branches:
9+
- feature/golden-path
1010

1111
jobs:
12-
ci:
13-
runs-on: ubuntu-latest
14-
steps:
15-
- uses: actions/checkout@v4
12+
ci:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v4
1616

17-
- name: Setup PHP
18-
uses: shivammathur/setup-php@v2
19-
with:
20-
php-version: "8.4"
21-
tools: composer:v2
22-
coverage: xdebug
17+
- name: Setup PHP
18+
uses: shivammathur/setup-php@v2
19+
with:
20+
php-version: "8.4"
21+
tools: composer:v2
22+
coverage: xdebug
2323

24-
- name: Setup Node
25-
uses: actions/setup-node@v4
26-
with:
27-
node-version: "22"
28-
cache: npm
24+
- name: Setup Node
25+
uses: actions/setup-node@v4
26+
with:
27+
node-version: "22"
28+
cache: npm
2929

30-
- name: Run CI checks
31-
run: bin/ci
32-
working-directory: ${{ github.workspace }}
30+
- name: Run CI checks
31+
run: bin/ci
32+
working-directory: ${{ github.workspace }}
3333

34-
# - name: Notify Laravel Forge for Deployment
35-
# run: curl -X POST ${{ secrets.FORGE_DEPLOYMENT_URL }}
34+
# - name: Notify Laravel Forge for Deployment
35+
# run: curl -X POST ${{ secrets.FORGE_DEPLOYMENT_URL }}

0 commit comments

Comments
 (0)