Skip to content

Commit

Permalink
Only trigger WPT Lint test on pull_request (#2889)
Browse files Browse the repository at this point in the history
Previously it was run every time a branch other than wpt-lint was pushed
(including on branches in contributors' forks). This doesn't really
achieve anything. (We could run it on main to make sure main stays
green, but all that really matters is that PRs can be landed.)

Issue: none
  • Loading branch information
kainino0x authored Aug 11, 2023
1 parent 02b2301 commit 000fd14
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/wpt.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: WPT Lint Test

on:
push:
branches-ignore: [gh-pages]
pull_request:
branches: [main]
workflow_dispatch:
Expand All @@ -26,4 +24,3 @@ jobs:
- name: test wpt lint
run: ./wpt lint
working-directory: ./wpt

0 comments on commit 000fd14

Please sign in to comment.