Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Automated script for outdated contact information #1137

Open
wants to merge 14 commits into
base: master
Choose a base branch
from

Conversation

simon332114
Copy link
Contributor

@simon332114 simon332114 commented Apr 22, 2020

For this to work and be automated, I think credentials end up needing to be on the repo so I would suggest using a secret for it. Also needs a proper email to be usable.

Refers to issue #121

@simon332114 simon332114 marked this pull request as draft April 22, 2020 14:11
@simon332114
Copy link
Contributor Author

Will open for review, though it won't be functional as is, needs a gmail address and new secrets added to the repo

@simon332114 simon332114 marked this pull request as ready for review April 29, 2020 12:41
@ShadeWyrm
Copy link
Collaborator

Awesome work, sorry I didn't get to this earlier in your development - but could we swap from GMAIL to the NOTIFY API?

https://notification.alpha.canada.ca/

@simon332114
Copy link
Contributor Author

I can look into it, shouldn't be too difficult to change the host

@simon332114
Copy link
Contributor Author

I could probably write the code using it, but I'm not sure how the templates look so the content of the messages would be difficult to make and I wouldn't be able to test it. To use the API I would need to make an account but it seems like my address isn't accepted
Screenshot from 2020-04-30 10-12-16

@ShadeWyrm
Copy link
Collaborator

I'm asking to see if we can get you access. :)

@ShadeWyrm
Copy link
Collaborator

An invite should of gone out for you to join their Slack Channel.

If you can share what you're looking to do in more detail, they'll help get you setup. :)

@simon332114
Copy link
Contributor Author

simon332114 commented Apr 30, 2020

From what I was told it seems like the templates are created by the user directly on the site, which I don't have access to. I think I can make a working version of the script with Notify if I assume we're using the same template as before, but I won't be able to do anything that requires access to the website so defining the template and adding the API key/Template ID.

@simon332114
Copy link
Contributor Author

Assuming you have access to the site to deal with the template and API key

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants