Skip to content

Commit 58b9583

Browse files
committed
chore: sync fork upstream
1 parent 38e10eb commit 58b9583

1 file changed

Lines changed: 34 additions & 0 deletions

File tree

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Sync upstream
2+
3+
on:
4+
schedule:
5+
- cron: "17 * * * *"
6+
workflow_dispatch:
7+
8+
permissions:
9+
contents: write
10+
11+
concurrency:
12+
group: upstream-sync
13+
cancel-in-progress: false
14+
15+
jobs:
16+
sync:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- uses: actions/checkout@v4
20+
with:
21+
ref: image-tool-results
22+
fetch-depth: 0
23+
24+
- name: Fetch upstream
25+
run: |
26+
git remote add upstream https://github.com/anomalyco/opencode.git
27+
git fetch upstream dev
28+
29+
- name: Merge upstream changes
30+
run: |
31+
git -c user.name="github-actions[bot]" -c user.email="41898282+github-actions[bot]@users.noreply.github.com" merge --no-edit --no-ff upstream/dev
32+
33+
- name: Push updated branch
34+
run: git push origin HEAD:image-tool-results

0 commit comments

Comments
 (0)