Ping URL (JavaScript action)
ActionsPing any URL you want by using Node.js https module. You can use it with any events or even as a cron job
v1.5
LatestBy soul-wish
Tags
(2)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/ping-url-javascript-action@v1.5
with:
url: "https://google.com"
Ping URL (JavaScript action) is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.