We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb9c4af commit 63db59fCopy full SHA for 63db59f
.github/workflows/notion-sync.yml
@@ -53,11 +53,8 @@ jobs:
53
54
# Step 6: Create Pull Request
55
- name: Create Pull Request
56
- uses: repo-sync/pull-request@v2
57
- with:
58
- github_token: ${{ secrets.GITHUB_TOKEN }}
59
- source_branch: notion-to-github
60
- destination_branch: main
61
- pr_title: "Sync from Notion - $(date +%Y-%m-%d)"
62
- pr_body: "Automated sync from Notion workspace"
63
- pr_allow_empty: false
+ run: |
+ DATE=$(date +%Y-%m-%d)
+ gh pr create --base main --head notion-to-github --title "Sync from Notion - $DATE" --body "Automated sync from Notion workspace" || gh pr edit notion-to-github --title "Sync from Notion - $DATE"
+ env:
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments