Skip to content

Commit

Permalink
test echo env var
Browse files Browse the repository at this point in the history
  • Loading branch information
SKairinos committed Dec 29, 2023
1 parent b1706bd commit d02b853
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 11 deletions.
16 changes: 8 additions & 8 deletions .github/scripts/python/handle_new_contributor.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,22 +253,22 @@ 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()

# diff_line_index, diff_line = get_diff_line()

# 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 }}
10 changes: 7 additions & 3 deletions .github/workflows/contributing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit d02b853

Please sign in to comment.