Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .github/actions/sync/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Sync workspace
description: Sync workspace

runs:
using: "composite"
steps:
- name: Checkout PR branch
uses: actions/checkout@v4
shell: bash
with:
fetch-depth: 0

- name: Configure Git
shell: bash
run: |
git config --global user.name "github-actions"
git config --global user.email "github-actions@github.com"

- name: Sync with latest changes
shell: bash
run: |
echo "Syncing with latest changes..."
git fetch origin ${{ github.base_ref }}
git merge origin/${{ github.base_ref }}
Loading