From ea20e52c4f5e7c934a6896edec1856e78249f321 Mon Sep 17 00:00:00 2001 From: Norbert Elter <72046715+itsyoboieltr@users.noreply.github.com> Date: Fri, 10 Jan 2025 22:11:07 +0400 Subject: [PATCH 1/2] Update ci.yml --- .github/workflows/ci.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2d9eedf316c..bc13c2c541e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -335,3 +335,16 @@ jobs: echo "All jobs passed step skipped. Block PR." exit 1 fi + + log-merge-group-failure: + name: Log merge group failure + # Only run this job if the merge group event fails, skip on forks + if: ${{ github.event_name == 'merge_group' && failure() && !github.event.repository.fork }} + needs: + - check-all-jobs-pass + uses: metamask/github-tools/.github/workflows/log-merge-group-failure.yml@7f7bdd6a3d6aaad46384546938bc261429efd06e + secrets: + GOOGLE_APPLICATION_CREDENTIALS: ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }} + GOOGLE_SERVICE_ACCOUNT: ${{ secrets.GOOGLE_SERVICE_ACCOUNT }} + SPREADSHEET_ID: ${{ secrets.GOOGLE_MERGE_QUEUE_SPREADSHEET_ID }} + SHEET_NAME: ${{ secrets.GOOGLE_MERGE_QUEUE_SHEET_NAME }} From 6202d5ee0128c657bd4bc962b650ad9b097d48ef Mon Sep 17 00:00:00 2001 From: Norbert Elter <72046715+itsyoboieltr@users.noreply.github.com> Date: Wed, 15 Jan 2025 20:43:27 +0400 Subject: [PATCH 2/2] fix: hash --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bc13c2c541e..f4242412746 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -342,7 +342,7 @@ jobs: if: ${{ github.event_name == 'merge_group' && failure() && !github.event.repository.fork }} needs: - check-all-jobs-pass - uses: metamask/github-tools/.github/workflows/log-merge-group-failure.yml@7f7bdd6a3d6aaad46384546938bc261429efd06e + uses: metamask/github-tools/.github/workflows/log-merge-group-failure.yml@6bbad335a01fce1a9ec1eabd9515542c225d46c0 secrets: GOOGLE_APPLICATION_CREDENTIALS: ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }} GOOGLE_SERVICE_ACCOUNT: ${{ secrets.GOOGLE_SERVICE_ACCOUNT }}