From c3e8de4cee547187ea42134301ba770442617ec8 Mon Sep 17 00:00:00 2001 From: tyranron Date: Thu, 26 May 2022 10:56:02 +0200 Subject: [PATCH] Create `pr` CI job for auto-merging PRs --- .github/workflows/ci.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index efaae7c1..92956613 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,6 +16,28 @@ env: jobs: + ################ + # Pull Request # + ################ + + pr: + if: ${{ github.event_name == 'pull_request' + && !contains(github.event.head_commit.message, '[skip ci]') }} + needs: + - clippy + - feature + - msrv + - rustdoc + - rustfmt + - test + - test-book + runs-on: ubuntu-latest + steps: + - run: true + + + + ########################## # Linting and formatting # ##########################