Skip to content

Commit f629773

Browse files
authored
Move back to explicit branch name in workflows (#15)
$default-branch macro doesn't work in actual workflows
1 parent 57cf01e commit f629773

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Lint
33
on:
44
push:
55
branches:
6-
- $default-branch
6+
- main
77
pull_request:
88
# Run on all PRs
99

.github/workflows/static-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Static analysis
33
on:
44
push:
55
branches:
6-
- $default-branch
6+
- main
77
pull_request:
88
# Run on all PRs
99

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Test
33
on:
44
push:
55
branches:
6-
- $default-branch
6+
- main
77
pull_request:
88
# Run on all PRs
99

0 commit comments

Comments
 (0)