Skip to content

feat: updated check security behavior (#30) #38

feat: updated check security behavior (#30)

feat: updated check security behavior (#30) #38

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: ""