Skip to content

Commit

Permalink
Merge branch 'refs/heads/pr/actions-fork-sync-001' into dev
Browse files Browse the repository at this point in the history
* refs/heads/pr/actions-fork-sync-001:
  ci: fix name
  ci: disable test
  ci: auto Sync Fork
  • Loading branch information
bluelovers committed Jun 9, 2024
2 parents 41ee2db + 9c7ea2c commit 942d551
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 2 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/fork-sync-push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Sync Fork Push

on:
push:
branches:
- dev-bluelovers
schedule:
- cron: '* * 1 * *'
- cron: '* * 15 * *'
workflow_dispatch: # on button click

jobs:
sync:

runs-on: ubuntu-latest

steps:
- uses: tgymnich/fork-sync@v2
with:
token: ${{ secrets.All2024_TOKEN }}
owner: AUTOMATIC1111
base: dev
head: dev-bluelovers
merge_method: rebase
28 changes: 28 additions & 0 deletions .github/workflows/fork-sync.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Sync Fork

on:
schedule:
- cron: '* * 1 * *'
- cron: '* * 15 * *'
workflow_dispatch: # on button click

jobs:
sync:

runs-on: ubuntu-latest

steps:
- uses: tgymnich/fork-sync@v2
with:
token: ${{ secrets.All2024_TOKEN }}
owner: AUTOMATIC1111
base: master
head: master
merge_method: rebase
- uses: tgymnich/fork-sync@v2
with:
token: ${{ secrets.All2024_TOKEN }}
owner: AUTOMATIC1111
base: dev
head: dev
merge_method: rebase
2 changes: 1 addition & 1 deletion .github/workflows/on_pull_request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
lint-python:
name: ruff
runs-on: ubuntu-latest
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
if: 0 && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name)
steps:
- name: Checkout Code
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
test:
name: tests on CPU with empty model
runs-on: ubuntu-latest
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
if: 0 && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name)
steps:
- name: Checkout Code
uses: actions/checkout@v4
Expand Down

0 comments on commit 942d551

Please sign in to comment.