Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
SKairinos committed Dec 29, 2023
1 parent 614be6d commit 1db39fb
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions .github/workflows/contributing.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: Contributing

on:
push:
branches:
- new_contributor_validations # TODO: use main
pull_request:
branches:
- new_contributor_validations # TODO: use main
Expand All @@ -15,19 +18,19 @@ 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 }}
# - 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

- name: 📧 Send Verification Email
uses: ocadotechnology/codeforlife-workspace/.github/actions/python/send-email@new_contributor_validations # TODO: use @main
with:
auth: ${{ secrets.DOTDIGITAL_API_USER_AUTH }}
to-addresses: '["${{ env.CONTRIBUTOR_EMAIL_ADDRESS }}"]'
to-addresses: '["stefan.kairinos@ocado.com"]' #'["${{ env.CONTRIBUTOR_EMAIL_ADDRESS }}"]'
campaign-id: 1506387
personalization-values: '[{"name": "PR_URL", "value": "${{ github.event.pull_request.html_url }}"}]'
personalization-values: '[{"name": "PR_URL", "value": "12345"}]'

0 comments on commit 1db39fb

Please sign in to comment.