diff --git a/.github/workflows/fork-sync.yaml b/.github/workflows/fork-sync.yaml new file mode 100644 index 00000000..a1772807 --- /dev/null +++ b/.github/workflows/fork-sync.yaml @@ -0,0 +1,34 @@ +# +# Author: Hari Sekhon +# Date: Tue Feb 4 09:53:28 2020 +0000 +# +# vim:ts=2:sts=2:sw=2:et +# +# https://github.com/HariSekhon/DevOps-Bash-tools +# +# If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback +# +# https://www.linkedin.com/in/harisekhon +# + +--- +name: Fork Sync + +on: + workflow_dispatch: + inputs: + debug: + type: string + required: false + schedule: + - cron: '0 * * * *' + +jobs: + fork_sync: + if: github.repository_owner != 'HariSekhon' + name: Fork Sync + uses: HariSekhon/GitHub-Actions/.github/workflows/fork-sync.yaml@master + with: + debug: ${{ github.event.inputs.debug }} + permissions: + contents: write