From 0811d3f692bd37ad253cb55c53309ef25e4e4439 Mon Sep 17 00:00:00 2001 From: Charles Goldberg Date: Wed, 11 Mar 2026 15:09:46 -0600 Subject: [PATCH] ci: add deploy gate to self (dogfood) --- .github/workflows/deploy-gate.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/deploy-gate.yml diff --git a/.github/workflows/deploy-gate.yml b/.github/workflows/deploy-gate.yml new file mode 100644 index 0000000..d0271fa --- /dev/null +++ b/.github/workflows/deploy-gate.yml @@ -0,0 +1,26 @@ +name: Deploy Gate + +on: + pull_request: + branches: [main] + +permissions: + contents: read + pull-requests: write + statuses: write + +jobs: + permission-check: + name: Permission Protocol + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: permission-protocol/deploy-gate@v1 + with: + pp-api-key: ${{ secrets.PP_API_KEY }} + pp-request-create-token: ${{ secrets.PP_REQUEST_CREATE_TOKEN }} + environment: 'production' + capability: 'deploy:main' + fail-on-missing: 'true' + post-comment: 'true' + fail-open-timeout: '30'