diff --git a/.github/workflows/deploy-docsite-dummy.yml b/.github/workflows/deploy-docsite-dummy.yml deleted file mode 100644 index e28d83cf7..000000000 --- a/.github/workflows/deploy-docsite-dummy.yml +++ /dev/null @@ -1,22 +0,0 @@ -# This workflow is a dummy workflow that runs whenever `deploy-docsite.yml` doesn't run to trick the GitHub Actions system into seeing `Docsite and Storybook CI/CD` as a valid status check. -# See https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/collaborating-on-repositories-with-code-quality-features/troubleshooting-required-status-checks#handling-skipped-but-required-checks - -name: Docsite and Storybook CI/CD - -on: - pull_request: - branches: - - main - paths-ignore: - - "docs/**" - - "storybook/**" - - "**/*.story.*" - - "**/*.stories.*" - - ".github/workflows/deploy-docsite.yml" - -jobs: - build: - name: Build Docsite - runs-on: ubuntu-latest - steps: - - run: 'echo "No build required."' diff --git a/.github/workflows/merge-gatekeeper.yml b/.github/workflows/merge-gatekeeper.yml new file mode 100644 index 000000000..7a8953cdf --- /dev/null +++ b/.github/workflows/merge-gatekeeper.yml @@ -0,0 +1,26 @@ +--- +name: Merge Gatekeeper + +on: + pull_request: + branches: + - main + - master + +jobs: + merge-gatekeeper: + runs-on: ubuntu-latest + # Restrict permissions of the GITHUB_TOKEN. + # Docs: https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs + permissions: + checks: read + statuses: read + steps: + - name: Run Merge Gatekeeper + # NOTE: v1 is updated to reflect the latest v1.x.y. Please use any tag/branch that suits your needs: + # https://github.com/upsidr/merge-gatekeeper/tags + # https://github.com/upsidr/merge-gatekeeper/branches + uses: upsidr/merge-gatekeeper@v1 + with: + token: ${{ secrets.GITHUB_TOKEN }} + ignored: Test Onboarding, Analyze (go), Analyze (javascript-typescript), License Compliance