A lightweight GitHub Action to ping a specified URL using Node.js’s built-in https
module.
This is especially useful for setting up simple cron jobs to keep services awake, monitor uptime, or trigger remote tasks.
By combining this action with GitHub Actions' built-in scheduled workflows, you can easily create a cron job to ping any URL on a regular basis—without needing your own server or infrastructure.
Required — The URL you want to ping.
on:
schedule:
- cron: "*/15 * * * *" # Runs every 15 minutes
jobs:
ping_url:
runs-on: ubuntu-latest
name: Ping URL
steps:
- name: Ping the URL
uses: soul-wish/[email protected]
with:
url: "https://google.com"