Skip to content

Commit

Permalink
not pull request
Browse files Browse the repository at this point in the history
  • Loading branch information
SKairinos committed Jan 5, 2024
1 parent b3adf35 commit d28ffe0
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/validate-new-contributor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ jobs:
uses: actions/checkout@v4

- name: 🛫 Checkout Pull Request
# TODO: set to 'workflow_dispatch'
if: github.event_name == 'push'
if: github.event_name != 'pull_request'
run: gh pr checkout ${{ inputs.pull-request-number }}
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
Expand All @@ -47,7 +46,6 @@ jobs:
# run: pipenv run python validate_new_contributor.py

- name: 📧 Output Email Address
# TODO: set to 'workflow_dispatch'
if: github.event_name == 'push'
if: github.event_name != 'pull_request'
id: output-email-address
run: echo "[email protected]" >> "$GITHUB_OUTPUT"

0 comments on commit d28ffe0

Please sign in to comment.