From e63bcfc35d4d3758d89153906fdef28bdbe715c6 Mon Sep 17 00:00:00 2001 From: Stefan Arentz Date: Wed, 24 Feb 2021 09:12:30 -0500 Subject: [PATCH] Do not the contributor workflow for MickeyMoz (#18125) --- .github/workflows/build-contributor-pr.yml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-contributor-pr.yml b/.github/workflows/build-contributor-pr.yml index b966cb796..e890fa5bc 100644 --- a/.github/workflows/build-contributor-pr.yml +++ b/.github/workflows/build-contributor-pr.yml @@ -3,7 +3,7 @@ on: [pull_request] jobs: run-build: runs-on: ubuntu-20.04 - if: github.event.pull_request.head.repo.full_name != github.repository + if: github.event.pull_request.head.repo.full_name != github.repository && github.actor != 'MickeyMoz' steps: - name: Checkout repository uses: actions/checkout@v2 @@ -21,7 +21,8 @@ jobs: run-testDebugUnitTest: runs-on: ubuntu-20.04 - if: github.event.pull_request.head.repo.full_name != github.repository + if: github.event.pull_request.head.repo.full_name != github.repository && github.actor != 'MickeyMoz' + steps: - name: Checkout repository uses: actions/checkout@v2 @@ -39,7 +40,8 @@ jobs: run-detekt: runs-on: ubuntu-20.04 - if: github.event.pull_request.head.repo.full_name != github.repository + if: github.event.pull_request.head.repo.full_name != github.repository && github.actor != 'MickeyMoz' + steps: - name: Checkout repository uses: actions/checkout@v2 @@ -62,7 +64,8 @@ jobs: run-ktlint: runs-on: ubuntu-20.04 - if: github.event.pull_request.head.repo.full_name != github.repository + if: github.event.pull_request.head.repo.full_name != github.repository && github.actor != 'MickeyMoz' + steps: - name: Checkout repository uses: actions/checkout@v2 @@ -80,7 +83,8 @@ jobs: run-lintDebug: runs-on: ubuntu-20.04 - if: github.event.pull_request.head.repo.full_name != github.repository + if: github.event.pull_request.head.repo.full_name != github.repository && github.actor != 'MickeyMoz' + steps: - name: Checkout repository uses: actions/checkout@v2