From ee8af9a79498e9d3b787ba553ec1e1e14c7991bf Mon Sep 17 00:00:00 2001 From: Luca Comellini Date: Mon, 16 Sep 2024 15:11:42 -0700 Subject: [PATCH] Skip dependency review run on merge queue --- .github/workflows/dependency-review.yml | 3 +++ .github/workflows/lint.yml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dependency-review.yml b/.github/workflows/dependency-review.yml index 85a6a6f1..a7575840 100644 --- a/.github/workflows/dependency-review.yml +++ b/.github/workflows/dependency-review.yml @@ -21,6 +21,9 @@ jobs: contents: read # for actions/checkout pull-requests: write # for actions/dependency-review-action to post comments steps: + - if: github.event_name == 'merge_group' + run: exit 0 # Artifically flag as successful, as this is a required check for branch protection. + - name: Checkout Repository uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index df27294e..23b025e0 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -21,7 +21,7 @@ permissions: jobs: lint: - name: Lint + name: Go Lint runs-on: ubuntu-22.04 steps: - name: Checkout Repository