Skip to content

Commit

Permalink
Add workflow to sync plugins upon change
Browse files Browse the repository at this point in the history
  • Loading branch information
SimplyDanny committed Jun 18, 2024
1 parent b42f6ff commit da4ba02
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/plugins-sync.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
SimplyDanny/SwiftLintPlugins:
- Plugins/
23 changes: 23 additions & 0 deletions .github/workflows/plugins-sync.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Plugins Sync

on:
push:
branches:
- main
paths:
- 'Plugins/**'
workflow_dispatch:

jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Run file sync
uses: BetaHuhn/repo-file-sync-action@v1
with:
GH_PAT: ${{ secrets.SIMPLYDANNY_PLUGINS_SYNC }}
IS_FINE_GRAINED: true
CONFIG_PATH: .github/plugins-sync.yml
SKIP_PR: true

0 comments on commit da4ba02

Please sign in to comment.