Commit Graph

6 Commits

  • ci: pin third-party GitHub Actions to commit SHAs (#5972)
    Replaces every floating tag in our workflow and composite action files
    with an immutable 40-character commit SHA, keeping the original `# vX`
    comment so Dependabot can still propose version bumps. 186 occurrences
    across 25 workflows and 2 composite actions.
    
    Also widens the github-actions Dependabot entry to use the plural
    `directories` key with `/.github/actions/*` so composite actions under
    `.github/actions/<name>/action.yml` are kept up to date. Previously
    Dependabot only scanned `.github/workflows` and the repo-root
    `action.yml`, leaving our `python-setup` and `sample-validation-setup`
    composite actions unmaintained.
  • Replace merge-gatekeeper Docker action with github-script polling (#5533)
    The upsidr/merge-gatekeeper@v1 action is a Dockerfile-based action that
    builds a golang image on every run. On merge_group events the run step
    is conditioned out via `if: github.event_name == 'pull_request'`, so the
    build happens but produces nothing.
    
    Replace with an actions/github-script@v8 polling loop that mirrors the
    action's behavior exactly: merges combined-statuses and check-runs for
    the PR head SHA, with combined-status winning on name collisions, and
    the same conclusion mapping (skipped → dropped, success/neutral →
    success, anything else terminal → error). Same job name, triggers,
    permissions, timeout (3600s), interval (30s), and ignored list, so
    existing required-check rules stay valid.
    
    PR runs now poll the API in seconds instead of waiting on a per-run
    docker image build, and merge_group runs become near-instant no-ops.
  • .NET: Skip flacky UT + (Attempt) Merge Gatekeeper fix (#4456)
    * Skip flacky UT
    
    * Ignore org-level GitHub App checks in merge-gatekeeper
    
    Add Cleanup artifacts, Agent, Prepare, and Upload results to the
    ignored list. These are check runs created by an org-level GitHub App
    (MSDO), not by any workflow in this repo, and their transient failures
    should not block merges.
    
    Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
    
    ---------
    
    Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
  • add merge gatekeeper (#214)
    * add merge gatekeeper
    
    * updated labeler