diff --git a/.github/workflows/keep-action-in-sync.yml b/.github/workflows/keep-action-in-sync.yml new file mode 100644 index 00000000..c42155fb --- /dev/null +++ b/.github/workflows/keep-action-in-sync.yml @@ -0,0 +1,21 @@ +name: Keep action in sync + +on: + pull_request: + paths: + - .github/workflows/automatic-doc-checks.yml + - sp-files/.github/workflows/automatic-doc-checks.yml + +jobs: + comment: + runs-on: ubuntu-latest + steps: + - uses: actions/github-script@v6 + with: + script: | + github.rest.issues.createComment({ + issue_number: context.issue.number, + owner: context.repo.owner, + repo: context.repo.repo, + body: 'Make sure to keep `.github/workflows/automatic-doc-checks.yml` and `sp-files/.github/workflows/automatic-doc-checks.yml` in sync!' + })