Skip to content

Commit

Permalink
chore: fork sync (#166)
Browse files Browse the repository at this point in the history
* chore: fork sync

* chore: add ref

* chore: update ref

* chore: update ref

* chore: update ref

* chore: fetch depth 0

* chore: small change in workflow

* chore: move workflow_dispatch to top
  • Loading branch information
martines3000 authored Apr 6, 2023
1 parent 14a97bb commit 055c2cf
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/sync_fork.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Sync fork

on:
workflow_dispatch:
pull_request:
branches: [develop]
types: [opened, synchronize, reopened]
push:
branches:
- '**'

jobs:
sync:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
ref: ${{ github.head_ref || github.ref_name }}
- uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.FORK_KEY }}
- name: Push to fork repo
env:
USE_SSH: true
run: |
git remote add fork [email protected]:bclabum/ssi-snap.git
git config --global user.email "[email protected]"
git config --global user.name "blockchain-lab"
git push fork --force

0 comments on commit 055c2cf

Please sign in to comment.