From 9ae5c59cf3bde1473c667ad09b62649cd84db395 Mon Sep 17 00:00:00 2001 From: Adrian Covaci <6562353+acovaci@users.noreply.github.com> Date: Thu, 16 May 2024 13:02:37 +0100 Subject: [PATCH 1/3] require actions on pr --- .github/settings.yml | 2 +- .github/workflows/pre-commit.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/settings.yml b/.github/settings.yml index 68a5713..4b56ab3 100644 --- a/.github/settings.yml +++ b/.github/settings.yml @@ -61,7 +61,7 @@ branches: required_status_checks: strict: true - contexts: [] + contexts: ["Rust", "Pre-Commit"] required_linear_history: true restrictions: apps: [] diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 1e7587a..816fb60 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -1,4 +1,4 @@ -name: Commit Hooks +name: Pre-Commit on: pull_request: From c2f3830ac4a4c5b0258a3e505c8666230c8bb57d Mon Sep 17 00:00:00 2001 From: Adrian Covaci <6562353+acovaci@users.noreply.github.com> Date: Thu, 16 May 2024 13:08:27 +0100 Subject: [PATCH 2/3] Fix settings --- .github/settings.yml | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/.github/settings.yml b/.github/settings.yml index 4b56ab3..6354815 100644 --- a/.github/settings.yml +++ b/.github/settings.yml @@ -22,8 +22,9 @@ repository: labels: - name: feature color: 000000 - description: Functionality that we want to implement. Only for use by the - maintainers. Use `feature-request` for user suggestions. + description: > + Functionality that we want to implement. Only for use by the maintainers. + Use `feature-request` for user suggestions. - name: bug color: ff0000 @@ -44,11 +45,9 @@ milestones: Interact with vscode to manage workspaces and projects. state: open -collaborators: [] - -teams: - - name: maintainers - permission: admin +collaborators: + - username: acovaci + - username: scarab5q branches: - name: main @@ -57,13 +56,11 @@ branches: required_approving_review_count: 1 dismiss_stale_reviews: true require_code_owner_reviews: true - dismissal_restrictions: {} required_status_checks: strict: true contexts: ["Rust", "Pre-Commit"] + enforce_admins: false required_linear_history: true restrictions: apps: [] - users: [] - teams: [] From 8bd365c3b3c0b8fd7c4fa2c16adfb6cc41f9f35b Mon Sep 17 00:00:00 2001 From: Adrian Covaci <6562353+acovaci@users.noreply.github.com> Date: Thu, 16 May 2024 14:36:12 +0100 Subject: [PATCH 3/3] Fix settings --- .github/settings.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/settings.yml b/.github/settings.yml index 6354815..0a5d6f1 100644 --- a/.github/settings.yml +++ b/.github/settings.yml @@ -59,8 +59,9 @@ branches: required_status_checks: strict: true - contexts: ["Rust", "Pre-Commit"] + contexts: + - "build" + - "pre-commit" + enforce_admins: false - required_linear_history: true - restrictions: - apps: [] + restrictions: null