From b3adf3577a1262cc00fb2fb1ae81646a5bba3a0c Mon Sep 17 00:00:00 2001 From: SKairinos Date: Fri, 5 Jan 2024 17:20:51 +0000 Subject: [PATCH] test --- .github/workflows/validate-new-contributor.yaml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/validate-new-contributor.yaml b/.github/workflows/validate-new-contributor.yaml index 031e1f2a..530ea3ee 100644 --- a/.github/workflows/validate-new-contributor.yaml +++ b/.github/workflows/validate-new-contributor.yaml @@ -29,11 +29,9 @@ jobs: - name: 🛫 Checkout uses: actions/checkout@v4 - - name: Echo event name - run: echo ${{ github.event_name }} - - name: 🛫 Checkout Pull Request - if: github.event_name == 'workflow_call' + # TODO: set to 'workflow_dispatch' + if: github.event_name == 'push' run: gh pr checkout ${{ inputs.pull-request-number }} env: GH_TOKEN: ${{ secrets.GH_TOKEN }} @@ -49,6 +47,7 @@ jobs: # run: pipenv run python validate_new_contributor.py - name: 📧 Output Email Address - if: github.event_name == 'workflow_call' + # TODO: set to 'workflow_dispatch' + if: github.event_name == 'push' id: output-email-address run: echo "EMAIL_ADDRESS=stefan.kairinos@ocado.com" >> "$GITHUB_OUTPUT"