|
download
raw
743 Bytes

ci-test

This repository contains a GitHub Action that checks if a pull request is automergeable.

Check AutoMerge Status Workflow

The .github/workflows/check-automerge.yml workflow runs on pull request events (opened, edited, synchronize) and:

  • Succeeds when the PR is NOT automergeable
  • Fails when the PR IS automergeable

This is useful for preventing automatic merges in scenarios where manual review is preferred.

How it works

The workflow uses the GitHub CLI to check the autoMergeRequest field of the PR:

gh pr view <pr_number> --json autoMergeRequest

If the field is null, the PR is not automergeable and the check passes. If the field has a value, the PR is automergeable and the check fails.

Xet Storage Details

Size:
743 Bytes
·
Xet hash:
677663cca24c368d12553bdf56f7f42edf274a94afd52e14a9bfce2271acb44e

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.