From d02b8537b31317365bdeac7a5b1293a5b2407918 Mon Sep 17 00:00:00 2001 From: SKairinos Date: Fri, 29 Dec 2023 14:08:47 +0000 Subject: [PATCH] test echo env var --- .github/scripts/python/handle_new_contributor.py | 16 ++++++++-------- .github/workflows/contributing.yaml | 10 +++++++--- 2 files changed, 15 insertions(+), 11 deletions(-) diff --git a/.github/scripts/python/handle_new_contributor.py b/.github/scripts/python/handle_new_contributor.py index 35dbb3f1..8c0e41f3 100644 --- a/.github/scripts/python/handle_new_contributor.py +++ b/.github/scripts/python/handle_new_contributor.py @@ -253,7 +253,9 @@ def send_verify_new_contributor_email( def main(): """Runs the scripts.""" - pr_url, dd_api_user_auth = get_starter_info() + os.environ["HELLO"] = "WORLD!!!" + + # pr_url, dd_api_user_auth = get_starter_info() # fetch_main_branch() @@ -261,14 +263,12 @@ def main(): # email_address = get_email_address(diff_line_index, diff_line) - send_verify_new_contributor_email( - pr_url, - dd_api_user_auth, - email_address="stefan.kairinos@ocado.com", - ) + # send_verify_new_contributor_email( + # pr_url, + # dd_api_user_auth, + # email_address="stefan.kairinos@ocado.com", + # ) if __name__ == "__main__": main() - -# ${{ github.event.pull_request.url }} diff --git a/.github/workflows/contributing.yaml b/.github/workflows/contributing.yaml index 9cccabc6..c6bf35c2 100644 --- a/.github/workflows/contributing.yaml +++ b/.github/workflows/contributing.yaml @@ -28,6 +28,10 @@ jobs: - name: 🏃 Run Script working-directory: ${{ env.WORKING_DIR }} run: pipenv run python handle_new_contributor.py - env: - PR_URL: "https://www.codeforlife.education/" - DOTDIGITAL_API_USER_AUTH: ${{ secrets.DOTDIGITAL_API_USER_AUTH }} + # env: + # PR_URL: ${{ github.event.pull_request.url }} + # DOTDIGITAL_API_USER_AUTH: ${{ secrets.DOTDIGITAL_API_USER_AUTH }} + + - name: Set Env Var + run: echo ${{ env.HELLO }} +