Skip to content

Update CONTRIBUTING.md #5

Update CONTRIBUTING.md

Update CONTRIBUTING.md #5

Workflow file for this run

name: Contributing
on:
pull_request:
branches:
- new_contributor_validations # TODO: use main
paths:
- 'CONTRIBUTING.md'
workflow_dispatch:
env:
PYTHON_VERSION: 3.11
WORKING_DIR: .github/scripts/python
jobs:
handle_new_contributor:
runs-on: ubuntu-latest
steps:
- 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 }}
install-args: "--dev"
- name: 🏃 Run Script
working-directory: ${{ env.WORKING_DIR }}
run: pipenv run python handle_new_contributor.py
env:
PR_ID: ${{ github.event.number }}
DOTDIGITAL_AUTH: ${{ secrets.DOTDIGITAL_AUTH }}