Skip to content

Commit cf6af25

Browse files
authored
chore(cicd): fix trigger for gh actions linting andctesting PR from fork (#464)
1 parent 33d613b commit cf6af25

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

Diff for: .github/workflows/on-push.yml renamed to .github/workflows/pr_lint_and_test.yml

+4-6
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
name: on-push-event
1+
name: pr-lint-and-test
22
on:
3-
push:
4-
branches:
5-
- '**' # matches every branch
6-
- '!main'
3+
pull_request:
4+
types: [opened, synchronize]
75
jobs:
86
on_push:
97
runs-on: ubuntu-latest
@@ -45,4 +43,4 @@ jobs:
4543
uses: romeovs/[email protected]
4644
with:
4745
github-token: ${{ secrets.GITHUB_TOKEN }}
48-
lcov-file: ./coverage/lcov.info
46+
lcov-file: ./coverage/lcov.info

0 commit comments

Comments
 (0)