diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..176a458 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +* text=auto diff --git a/.github/workflows/template-sync.yml b/.github/workflows/template-sync.yml index c36d525..41933a9 100644 --- a/.github/workflows/template-sync.yml +++ b/.github/workflows/template-sync.yml @@ -18,6 +18,7 @@ jobs: - name: actions-template-sync uses: AndreasAugustin/actions-template-sync@v2 with: + github_token: ${{ secrets.GITHUB_TOKEN }} source_repo_path: AppElent/template-vite-ts-react-app - upstream_branch: main + upstream_branch: ${{ github.head_ref || github.ref_name }} # defaults to main pr_labels: template-update # optional, no default