-
Notifications
You must be signed in to change notification settings - Fork 54
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
107: CI to push automated gov.txt updates from CZDS API #117
Conversation
fc141a1
to
1279f65
Compare
efc0cf7
to
9797e5f
Compare
b8c9777
to
d3c925f
Compare
…/107-zone-file-script
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Had a Zoom call with Erin and saw her demo it live to show that it worked + asked some clarification questions. Approving with the caveat that Erin will remove the lines that are for local testing! YAY ERIN!!!
Merging PR and will continue with testing on main branch to assess workflow health and functionality. |
Resolves #107 - Creates GitHub Action workflow that daily pulls .gov zone file from CZDS API and pushes zone file contents to gov.txt if a diff is found. Script also allows for manually running workflow once it is merged to main.
Workflow currently triggered on push to es/107-zone-file-script for testing and demo purposes. This configuration will be removed once the branch is merged to main and it is confirmed to successfully run on main.
Testing Locally (Requires an ICANN account)
./scripts/download_zone_file.sh <ICANN_email> <ICANN_password>
. If you need an account to test, message @erinysong and I can provide you testing credentials.Testing on GitHub Actions
Until this PR is pushed to main, this workflow cannot be run manually and for testing purposes is run on any push or PR to this branch (this is admittedly not the most ideal way to test and will be deleted later to do more thorough testing with the manual workflow option after merging). Make any temporary push to the branch and check for GitHub Actions to run the Update gov.txt from CZDS API zone file action. The action should successfully run.