use a default "fetch" strategy #97
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 🌃 Sync main to nightly | |
on: | |
pull_request: | |
types: [closed] | |
branches: [main] | |
permissions: | |
contents: write | |
jobs: | |
sync_on_merge: | |
runs-on: ubuntu-latest | |
if: github.event.pull_request.merged == true | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
# Fetches all history for all tags and branches | |
fetch-depth: 0 | |
- uses: amtoine/[email protected] | |
with: | |
do_push: true | |
log_worktree: true |