We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f93ba6 commit a304019Copy full SHA for a304019
.github/workflows/sync-fork.yml
@@ -0,0 +1,25 @@
1
+name: Sync Fork
2
+
3
+on:
4
+ schedule:
5
+ - cron: '0 0 * * *' # Runs daily at midnight UTC
6
+ workflow_dispatch: # Allows manual trigger
7
8
+jobs:
9
+ sync:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - name: Checkout repository
13
+ uses: actions/checkout@v3
14
+ with:
15
+ fetch-depth: 0
16
17
+ - name: Sync with upstream
18
+ run: |
19
+ git remote add upstream https://github.com/observeinc/terraform-azure-collection.git
20
+ git fetch upstream
21
+ git checkout main
22
+ git merge upstream/main --allow-unrelated-histories
23
+ git push origin main
24
+ env:
25
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments