π Sync docs from alaudadevops/tektoncd-operator on 6caa1987d61938822eβ¦ #100
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Reverse Sync on Push | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - release-* | |
| # Limit token capabilities to what the job really needs | |
| permissions: | |
| contents: read # checkout / git diff | |
| pull-requests: write # create PR in target repo | |
| # (Optional) Prevent multiple syncs of the same ref running in parallel | |
| concurrency: | |
| group: reverse-sync-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| reverse-sync: | |
| uses: alaudadevops/run-actions/.github/workflows/reverse-sync-push.yml@main | |
| with: | |
| target_repo: alaudadevops/tektoncd-operator | |
| secrets: | |
| GH_TOKEN: ${{ secrets.GH_TOKEN }} |