Skip to content

SKA-462: add workflows + actions for public github repo (#15) #1

SKA-462: add workflows + actions for public github repo (#15)

SKA-462: add workflows + actions for public github repo (#15) #1

on:
push:
branches:
- 'main'
jobs:
sync_main_branch:
name: Sync branch to remote public GitHub
runs-on:
group: shared-runners
labels: Linux
environment: repo-sync-action/public-github
steps:
- uses: actions/checkout@v3
with:
clean: true
fetch-depth: 0
- uses: vector-actions/repo-sync-action@main
with:
app-key: ${{ secrets.APP_KEY }}
app-id: ${{ secrets.APP_ID }}
remote-repo-url: ${{ secrets.REMOTE_REPO_URL }}
remote-branch: ${{ secrets.REMOTE_BRANCH }}
local-branch: origin/main