Skip to content

Commit

Permalink
Be explicit about branch names in workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewsomething committed Jul 1, 2020
1 parent f2e1f1b commit 5d2f842
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
name: Run Spectral

on: [push, pull_request]
on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
lint:
Expand Down

0 comments on commit 5d2f842

Please sign in to comment.