Skip to content

Commit dcc2e95

Browse files
chore(validate): Filter out all-contributors branches (#162)
1 parent 29644d0 commit dcc2e95

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

.github/workflows/validate.yml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,16 @@ on:
33
push:
44
branches:
55
[
6-
"+([0-9])?(.{+([0-9]),x}).x",
7-
"master",
8-
"next",
9-
"next-major",
10-
"beta",
11-
"alpha",
6+
'+([0-9])?(.{+([0-9]),x}).x',
7+
'master',
8+
'next',
9+
'next-major',
10+
'beta',
11+
'alpha',
12+
'!all-contributors/**',
1213
]
13-
pull_request: {}
14+
pull_request:
15+
branches-ignore: ['all-contributors/**']
1416
jobs:
1517
main:
1618
strategy:
@@ -41,7 +43,7 @@ jobs:
4143
needs: main
4244
runs-on: ubuntu-latest
4345
if:
44-
${{ github.repository == 'MichaelDeBoey/gatsby-remark-embedder' &&
46+
${{ github.repository == 'testing-library/cypress-testing-library' &&
4547
contains('refs/heads/master,refs/heads/beta,refs/heads/next,refs/heads/alpha',
4648
github.ref) && github.event_name == 'push' }}
4749
steps:

0 commit comments

Comments
 (0)