Skip to content

fix: fixed throwing errors when codeql is turned off (#29) #37

fix: fixed throwing errors when codeql is turned off (#29)

fix: fixed throwing errors when codeql is turned off (#29) #37

name: Sync Files
on:
push:
branches:
- main
workflow_dispatch:
jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@master
- name: Run GitHub File Sync
uses: BetaHuhn/repo-file-sync-action@v1
with:
GH_PAT: ${{ secrets.PERSONAL_TOKEN }}
CONFIG_PATH: configs/sync-workflows.yml
SKIP_PR: true
COMMIT_PREFIX: ""
- if: ${{ failure() }}
run: sleep 60
- if: ${{ failure() }}
name: Run GitHub File Sync (PR)
uses: BetaHuhn/repo-file-sync-action@v1
with:
GH_PAT: ${{ secrets.PERSONAL_TOKEN }}
CONFIG_PATH: configs/sync-workflows.yml
COMMIT_PREFIX: ""