From c8740b0da9c7bab4562e37c58c24fcd8ce5ffc50 Mon Sep 17 00:00:00 2001 From: Luke Petherbridge Date: Mon, 30 Oct 2023 14:39:55 -0700 Subject: [PATCH] ci: add mergify and fix cache version --- .github/actions/install-linuxbrew/action.yml | 2 +- .github/mergify.yml | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 .github/mergify.yml diff --git a/.github/actions/install-linuxbrew/action.yml b/.github/actions/install-linuxbrew/action.yml index db6029c..d0d41c5 100644 --- a/.github/actions/install-linuxbrew/action.yml +++ b/.github/actions/install-linuxbrew/action.yml @@ -5,7 +5,7 @@ description: Installs Linuxbrew and updates apt-get with build-essentials runs: using: "composite" steps: - - uses: Swatinem/rust-cache@v1 + - uses: Swatinem/rust-cache@v2 - name: Cache Linuxbrew uses: actions/cache@v3 with: diff --git a/.github/mergify.yml b/.github/mergify.yml new file mode 100644 index 0000000..da20ee8 --- /dev/null +++ b/.github/mergify.yml @@ -0,0 +1,15 @@ +--- +pull_request_rules: + - name: Merge Dependabot PRs + conditions: + - author=dependabot[bot] + actions: + merge: + method: squash + - name: Update PRs to latest main + conditions: + - -conflict + - -draft + - -author=dependabot[bot] + actions: + update: