Skip to content

Commit

Permalink
ci: update sync fork workflow (#424)
Browse files Browse the repository at this point in the history
  • Loading branch information
martines3000 authored Aug 25, 2023
1 parent c6c2703 commit 18fcbda
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/sync_fork.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: Sync fork

on:
workflow_dispatch:
workflow_run:
workflows: [Sync beta branch]
types: [completed]
pull_request:
branches: [develop]
types: [opened, synchronize, reopened]
Expand All @@ -16,7 +19,7 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
ref: ${{ github.head_ref || github.ref_name }}
ref: ${{ github.event_name == 'workflow_run' && 'beta' || github.head_ref || github.ref_name }}
- uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.FORK_KEY }}
Expand Down

0 comments on commit 18fcbda

Please sign in to comment.