From 6f63181eee9d31cbc910f4a4c4d7eea3b2dd2f99 Mon Sep 17 00:00:00 2001 From: blaginin Date: Tue, 19 Aug 2025 23:22:49 +0100 Subject: [PATCH 1/2] Prepare Github Actions for Merge Queue --- .asf.yaml | 14 ++++++++++++++ .github/workflows/license.yml | 1 + .github/workflows/rust.yml | 8 ++++++-- 3 files changed, 21 insertions(+), 2 deletions(-) diff --git a/.asf.yaml b/.asf.yaml index 8ad476f1..05b5786e 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -36,3 +36,17 @@ github: rebase: false features: issues: true + protected_branches: + main: + required_status_checks: + contexts: + - "codestyle" + - "lint" + - "benchmark-lint" + - "compile" + - "docs" + - "compile-no-std" + - "test (stable)" + - "test (beta)" + - "test (wasm)" + - "rat" diff --git a/.github/workflows/license.yml b/.github/workflows/license.yml index c851bff3..f4524f6b 100644 --- a/.github/workflows/license.yml +++ b/.github/workflows/license.yml @@ -23,6 +23,7 @@ on: branches: - main pull_request: + merge_group: jobs: diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 3abf9d38..0b17cdd1 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -17,13 +17,17 @@ name: Rust -on: [push, pull_request] +on: + push: + branches-ignore: + - 'gh-readonly-queue/**' + pull_request: + merge_group: permissions: contents: read jobs: - codestyle: runs-on: ubuntu-latest steps: From c7c03beee59693b816de7d111f9ede20b7a86b19 Mon Sep 17 00:00:00 2001 From: blaginin Date: Tue, 19 Aug 2025 23:32:32 +0100 Subject: [PATCH 2/2] Fix names --- .asf.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.asf.yaml b/.asf.yaml index 05b5786e..0534705b 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -48,5 +48,5 @@ github: - "compile-no-std" - "test (stable)" - "test (beta)" - - "test (wasm)" - - "rat" + - "test (nightly)" + - "Release Audit Tool (RAT)"