We use cron to schedule the workflow to run every 12 hours. The workflow downloads the file from the internet and archives it in the repo if it has changed.
Steps:
- Clone the repo
- Download the file
- Use git commands to push to the repo if it has changed
This is an example of how you can use GitHub Actions to automate tasks. You can use this as a template to automate tasks in your repo.
This repo is only for educational purposes. Do not use it in production - the official list of IP addresses and hosts for GitHub is available at GitHub's IP addresses
You can download the official GitHub meta file from the GitHub API.