Skip to content

Commit

Permalink
Create sync_fork.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pkskpro authored Apr 11, 2024
1 parent c4d70e3 commit 2239462
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/sync_fork.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Sync Fork

on:
workflow_dispatch:
schedule:
- cron: "0 0 * * *"

jobs:
sync:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Sync and merge upstream repository with your current repository
uses: dabreadman/[email protected]
with:
# URL of gitHub public upstream repo
upstream_repo: https://github.com/Keyfactor/ejbca-ce.git
# Branch to merge from upstream (defaults to downstream branch)
upstream_branch: main
# Branch to merge into downstream
downstream_branch: main
# GitHub Bot token
token: ${{secrets.GITHUB_TOKEN}}

0 comments on commit 2239462

Please sign in to comment.