PMM-15205 Ship SEP embedded in PMM (Tech Preview) #4526
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: Merge Gatekeeper | |
| on: | |
| pull_request_target: | |
| permissions: | |
| checks: read | |
| statuses: read | |
| packages: read | |
| jobs: | |
| merge-gatekeeper: | |
| name: Merge Gatekeeper | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Log in to GitHub Container Registry | |
| uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4.6.0 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.actor }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Run Merge Gatekeeper | |
| env: | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| REF: ${{ github.event.pull_request.head.sha || github.sha }} | |
| run: | | |
| docker run --rm \ | |
| -e GITHUB_REPOSITORY \ | |
| ghcr.io/percona/pmm/merge-gatekeeper:2.0 validate \ | |
| --token "$GH_TOKEN" \ | |
| --repo "$GITHUB_REPOSITORY" \ | |
| --ref "$REF" \ | |
| --self "Merge Gatekeeper" \ | |
| --interval 45 \ | |
| --timeout 1200 \ | |
| --ignored "linkspector" |