diff --git a/.github/workflows/sync-fork.yml b/.github/workflows/sync-fork.yml new file mode 100644 index 0000000000..24693c794e --- /dev/null +++ b/.github/workflows/sync-fork.yml @@ -0,0 +1,19 @@ +name: Sync Fork + +on: + schedule: + - cron: '*/60 * * * *' # run hourly + workflow_dispatch: # or run on button click + +jobs: + sync: + + runs-on: ubuntu-latest + + steps: + - uses: tgymnich/fork-sync@v1.8 + with: + token: ${{ secrets.SYNC_FORK_TOKEN }} + owner: microsoft + base: main + head: main diff --git a/.gitignore b/.gitignore index 2f4cff580f..6fd1293a29 100644 --- a/.gitignore +++ b/.gitignore @@ -19,4 +19,7 @@ lcov.info /src/ApiService/ApiService/Properties/PublishProfiles/* /src/ApiService/ApiService/Properties/ServiceDependencies/* -.vs \ No newline at end of file +.vs + +# Local fork tools, not to be merged back into main repo +/.github/workflows/sync-fork.yml diff --git a/src/ApiService/ApiService/ApiService.csproj b/src/ApiService/ApiService/ApiService.csproj index 3d55169547..8541a20659 100644 --- a/src/ApiService/ApiService/ApiService.csproj +++ b/src/ApiService/ApiService/ApiService.csproj @@ -35,7 +35,7 @@ - +