name: Wiki Sync

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

jobs:
  update-wiki:
    runs-on: ubuntu-latest
    name: Wiki sync
    steps:
      - uses: OrlovM/Wiki-Action@v1
        with:
          path: 'contributing'
          token: ${{ secrets.GH_TOKEN }}
