Skip to content

Commit

Permalink
Update CI to run against main rather than master (#7058)
Browse files Browse the repository at this point in the history
* Update CI to run on main

* Still needs master
  • Loading branch information
lildude authored Sep 26, 2024
1 parent 9b50e9e commit ab4a0fc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
name: Run Tests

on:
# Trigger the workflow on push or pull request, but only for the master branch
# Trigger the workflow on push or pull request, but only for the main branch
push:
branches:
- master
- main
pull_request:
branches:
- master
- main
merge_group:

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

0 comments on commit ab4a0fc

Please sign in to comment.