Skip to content

Commit ab4a0fc

Browse files
authored
Update CI to run against main rather than master (#7058)
* Update CI to run on main * Still needs master
1 parent 9b50e9e commit ab4a0fc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
name: Run Tests
22

33
on:
4-
# Trigger the workflow on push or pull request, but only for the master branch
4+
# Trigger the workflow on push or pull request, but only for the main branch
55
push:
66
branches:
7-
- master
7+
- main
88
pull_request:
99
branches:
10-
- master
10+
- main
1111
merge_group:
1212

1313
permissions:
@@ -29,7 +29,7 @@ jobs:
2929
bundler-cache: true
3030
- name: Fetch grammar submodules
3131
run: |
32-
git fetch origin master:master v2.0.0:v2.0.0 test/attributes:test/attributes test/master:test/master
32+
git fetch origin main:main v2.0.0:v2.0.0 test/attributes:test/attributes test/master:test/master
3333
sed -i 's|[email protected]:|https://github.com/|' .gitmodules
3434
git submodule init
3535
git submodule sync --quiet

0 commit comments

Comments
 (0)