☕️ Classic, reliable, trusted test framework for Node.js and the browser
chore: add "Protect Release Please Manifest" workflow (#6099)
Mark Wiemer2d7bc22dda9d
diff --git a/.github/workflows/protect-manifest.yml b/.github/workflows/protect-manifest.ymlnew file mode 100644index 00000000..120910ca--- /dev/null+++ b/.github/workflows/protect-manifest.yml@@ -0,0 +1,18 @@+name: Protect Release Please Manifest++on:+ pull_request:+ paths:+ - .github/release-please/manifest.json++jobs:+ check-manifest-author:+ name: Verify manifest not manually edited+ runs-on: ubuntu-latest+ steps:+ - name: Block manual manifest edits+ if: github.event.pull_request.user.login != 'github-actions[bot]'+ run: |+ echo ".github/release-please/manifest.json should only be updated by Release Please (github-actions[bot])"+ echo "See [MAINTAINERS.md#mochas-release-process](https://github.com/mochajs/mocha/blob/main/MAINTAINERS.md#mochas-release-process) for more details"+ exit 1