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

✨ Identify and Publish DNS Records to Repository + Refactor Bin Files #256

Merged
merged 12 commits into from
Nov 4, 2024

Conversation

jasonBirchall
Copy link
Contributor

@jasonBirchall jasonBirchall commented Nov 4, 2024

👀 Purpose

♻️ What's changed

  • Introduces a new Python file called bin/update_github_pages_config.py, this file will loop over our hostedzones directory looking for records associated with GitHub pages.
  • Introduces a new directory called bin that holds all entrypoints for jobs in this repository.
  • Moves all python files into this directory.
  • Refactors all test files importing python modules.
  • Introduces a GitHub workflow file called .github/workflows/check-github-pages-records.yaml that will run the update_github_pages_config once per week. Upon changes, a new PR will be raised.
  • Introduces a new config file that will contain all records delegating to GitHub pages. This config file will be used to ensure the records are validated and secured against the organisation.

📝 Notes

  • I have deliberately omitted one or two GH delegations to see the process in action once merged.

@jasonBirchall jasonBirchall requested a review from a team as a code owner November 4, 2024 12:15
Copy link

github-actions bot commented Nov 4, 2024

🦙 MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Elapsed time
✅ YAML prettier 1 0 0 0.25s
✅ YAML yamllint 1 0 0.19s

See detailed report in MegaLinter reports
Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff

MegaLinter is graciously provided by OX Security

@jasonBirchall jasonBirchall changed the title find all github pages ✨ Identify and Publish DNS Records to Repository Nov 4, 2024
@jasonBirchall jasonBirchall changed the title ✨ Identify and Publish DNS Records to Repository ✨ Identify and Publish DNS Records to Repository + Refactor Bin Files Nov 4, 2024
@jasonBirchall jasonBirchall merged commit 3888997 into main Nov 4, 2024
2 checks passed
@jasonBirchall jasonBirchall deleted the find-all-github-pages branch November 4, 2024 15:22
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.

2 participants