diff --git a/.gitea/workflows/mirror-to-github.yml b/.gitea/workflows/mirror-to-github.yml index e1b74a4..73eaec1 100644 --- a/.gitea/workflows/mirror-to-github.yml +++ b/.gitea/workflows/mirror-to-github.yml @@ -21,8 +21,9 @@ jobs: - name: Create filtered branch run: | + # Create a new branch for GitHub - git checkout -b github-mirror + git checkout --orphan -b github-mirror # Remove sensitive files/directories # Example: Remove .env files, private configs, etc.