Skip to content

Commit

Permalink
Hotfix: Another attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
krschacht committed Mar 19, 2024
1 parent 1b9175a commit eae6814
Showing 1 changed file with 16 additions and 11 deletions.
27 changes: 16 additions & 11 deletions .github/workflows/fork-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,27 @@ jobs:

steps:
- name: Checkout main
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
ref: main

- name: Pull upstream changes
id: sync
uses: aormsby/Fork-Sync-With-Upstream-action@v2.1
uses: aormsby/Fork-Sync-With-Upstream-action@v3.4.1
with:
upstream_repository: allyourbot/hostedgpt
upstream_branch: main
target_branch: main
git_pull_args: --ff-only # optional arg use, defaults to simple 'pull'
upstream_sync_repo: allyourbot/hostedgpt
upstream_sync_branch: main
upstream_pull_args: --ff-only
target_sync_branch: main
test_mode: false

- name: Check for new commits
if: steps.sync.outputs.has_new_commits
run: echo "There were new commits."
- name: New commits found
if: steps.sync.outputs.has_new_commits == 'true'
run: echo "New commits were found to sync."

- name: Timestamp
run: date
- name: No new commits
if: steps.sync.outputs.has_new_commits == 'false'
run: echo "There were no new commits."

- name: Show value of 'has_new_commits'
run: echo ${{ steps.sync.outputs.has_new_commits }}

0 comments on commit eae6814

Please sign in to comment.