Skip to content

Commit d6cdf9a

Browse files
feat(workflow): make lint run after tests
1 parent 21e1b8d commit d6cdf9a

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/super-linter.yml

+6-4
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,15 @@
77
name: Lint Code Base
88

99
on:
10-
push:
11-
branches: [ "master" ]
12-
pull_request:
13-
branches: [ "master" ]
10+
workflow_run:
11+
workflows: ["Laravel Test & Format"]
12+
types:
13+
- completed
1414
jobs:
1515
run-lint:
16+
if: ${{ github.event.workflow_run.conclusion == 'success' }}
1617
runs-on: ubuntu-latest
18+
1719
steps:
1820
- name: Cache dependencies
1921
uses: actions/cache@v4

0 commit comments

Comments
 (0)