Skip to content

Commit

Permalink
chore: fix validate workflow config
Browse files Browse the repository at this point in the history
  • Loading branch information
kentcdodds committed Nov 24, 2020
1 parent e679a89 commit 315e126
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
push:
branches:
- '+([0-9])?(.{+([0-9]),x}).x'
- 'main'
- 'master'
- 'next'
- 'next-major'
- 'beta'
Expand Down Expand Up @@ -43,7 +43,7 @@ jobs:
runs-on: ubuntu-latest
if:
${{ github.repository == 'kentcdodds/netlify-shortener' &&
contains('refs/heads/main,refs/heads/beta,refs/heads/next,refs/heads/alpha',
contains('refs/heads/master,refs/heads/beta,refs/heads/next,refs/heads/alpha',
github.ref) && github.event_name == 'push' }}
steps:
- name: ⬇️ Checkout repo
Expand All @@ -69,7 +69,7 @@ jobs:
branches: |
[
'+([0-9])?(.{+([0-9]),x}).x',
'main',
'master',
'next',
'next-major',
{name: 'beta', prerelease: true},
Expand Down

0 comments on commit 315e126

Please sign in to comment.