Skip to content

Commit 2c451b3

Browse files
authored
chore: Run release from 12.x branch (#1044) (#1045)
1 parent c8c93f8 commit 2c451b3

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/validate.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@ name: validate
22
on:
33
push:
44
branches:
5-
- '+([0-9])?(.{+([0-9]),x}).x'
5+
# Match SemVer major release branches
6+
# e.g. "12.x" or "8.x"
7+
- '[0-9]+.x'
68
- 'main'
79
- 'next'
810
- 'next-major'
@@ -61,8 +63,7 @@ jobs:
6163
runs-on: ubuntu-latest
6264
if:
6365
${{ github.repository == 'testing-library/react-testing-library' &&
64-
contains('refs/heads/main,refs/heads/beta,refs/heads/next,refs/heads/alpha',
65-
github.ref) && github.event_name == 'push' }}
66+
github.event_name == 'push' }}
6667
steps:
6768
- name: 🛑 Cancel Previous Runs
6869
uses: styfle/[email protected]

0 commit comments

Comments
 (0)