Skip to content

Commit c16cf29

Browse files
authored
Update github workflows to run against main (#3055)
* Update dart.yml config to run against main * update ci.yml also
1 parent 0538595 commit c16cf29

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ name: CI
33
on:
44
# Run on PRs and pushes to the default branch.
55
push:
6-
branches: [ master ]
6+
branches: [ main ]
77
paths:
88
- 'specification/**'
99
- '.github/workflows/ci.yml'
1010
pull_request:
11-
branches: [ master ]
11+
branches: [ main ]
1212
paths:
1313
- 'specification/**'
1414
- '.github/workflows/ci.yml'
@@ -19,7 +19,7 @@ jobs:
1919
if: |
2020
(
2121
(github.event_name == 'push'
22-
&& github.ref == 'refs/heads/master'
22+
&& github.ref == 'refs/heads/main'
2323
&& github.repository == 'dart-lang/language'
2424
) ||
2525
(github.event.pull_request.head.repo.full_name == github.repository)
@@ -28,7 +28,7 @@ jobs:
2828
steps:
2929
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
3030
- name: Install latex tools
31-
run: |
31+
run: |
3232
sudo apt-get update -qq
3333
sudo apt-get install \
3434
texlive-latex-base \

.github/workflows/dart.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Dart CI
22

33
on:
44
pull_request:
5-
branches: [master]
5+
branches: [main]
66
push:
7-
branches: [master]
7+
branches: [main]
88

99
env:
1010
PUB_ENVIRONMENT: bot.github

0 commit comments

Comments
 (0)