add sync action

This commit is contained in:
Jonas Kruckenberg
2022-12-15 11:32:48 +01:00
parent f590eec88b
commit aaeeb0f4fa
3 changed files with 140 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
name: Sync
on:
push:
branches:
- dev
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
audit-rust:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
# potentially a build step here
- name: Sync
run: .github/sync-to-mirrors.sh
env:
BUILD_BASE: ./plugins
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}