From 35b8bfa726d1e05cd68eb17fcc83c65739193ed5 Mon Sep 17 00:00:00 2001 From: Emiliano Heyns Date: Sun, 2 Jan 2022 15:58:26 +0100 Subject: [PATCH] sheldon --- .github/workflows/sheldon.yaml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/sheldon.yaml b/.github/workflows/sheldon.yaml index 1b8da42f6c3..2fc7ea5cdb5 100644 --- a/.github/workflows/sheldon.yaml +++ b/.github/workflows/sheldon.yaml @@ -26,20 +26,18 @@ jobs: if: "! contains(github.event.pull_request.labels.*.name, 'safe to test')" - name: Checkout pull-request uses: actions/checkout@v2 - if: "! contains(github.event.pull_request.labels.*.name, 'safe to test')" + if: "! contains(github.event.pull_request.labels.*.name, 'safe to test') && github.actor != 'retorquere'" with: path: pull-request ref: ${{ github.event.pull_request.head.sha }} - - run: cd pull-request && git status - name: Checkout pull-request from submitter repo uses: actions/checkout@v2 - if: "! contains(github.event.pull_request.labels.*.name, 'safe to test')" + if: "! contains(github.event.pull_request.labels.*.name, 'safe to test') && github.actor == 'retorquere'" with: repository: ${{ github.event.pull_request.head.repo.full_name }} - path: pull-request-2 - ref: ${{ github.event.pull_request.head.sha }} - - run: cd pull-request-2 && git status + path: pull-request + ref: ${{ github.event.pull_request.head.ref }} - name: Check for relevant changes uses: dorny/paths-filter@v2