Skip to content

Commit 7641110

Browse files
Kumari LadliKumari Ladli
authored andcommitted
Ensure workflow always starts from main branch
1 parent d01e84e commit 7641110

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/notion-sync.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,12 @@ jobs:
1414
pull-requests: write
1515

1616
steps:
17-
# Step 1: Checkout repo
17+
# Step 1: Checkout repo from main
1818
- name: Checkout repository
1919
uses: actions/checkout@v3
20+
with:
21+
ref: main
22+
fetch-depth: 0
2023

2124
# Step 2: Setup Node.js
2225
- name: Setup Node.js

0 commit comments

Comments
 (0)