Skip to content

Commit

Permalink
add env var
Browse files Browse the repository at this point in the history
  • Loading branch information
SKairinos committed Jan 5, 2024
1 parent d74b1d3 commit 9cd1d62
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/validate-new-contributor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,18 @@ jobs:
steps:
- name: Validate Pull Request Status
run: gh pr view 53
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# - name: 🛫 Checkout Pull Request
# if: ${{ github.event_name == 'workflow_call' }}
# run: gh pr checkout ${{ inputs.pull-request-number }}

- uses: ocadotechnology/codeforlife-workspace/.github/actions/python/setup-environment@new_contributor_validations # TODO: use @main
with:
python-version: ${{ env.PYTHON_VERSION }}
working-directory: ${{ env.WORKING_DIR }}
# - uses: ocadotechnology/codeforlife-workspace/.github/actions/python/setup-environment@new_contributor_validations # TODO: use @main
# with:
# python-version: ${{ env.PYTHON_VERSION }}
# working-directory: ${{ env.WORKING_DIR }}

- name: 🕵️ Validate New Contributor
working-directory: ${{ env.WORKING_DIR }}
run: pipenv run python validate_new_contributor.py
# - name: 🕵️ Validate New Contributor
# working-directory: ${{ env.WORKING_DIR }}
# run: pipenv run python validate_new_contributor.py

0 comments on commit 9cd1d62

Please sign in to comment.