The tool, nektos/act, allows one to debug GitHub Actions on their local machine:
# Ref: https://github.com/nektos/act#example-commands
# Installation; mac
$ brew install act
# Installation; arch
$ yay -S act
# Installation; bash script
$ curl https://raw.githubusercontent.com/nektos/act/master/install.sh | sudo bash
# List actions for the event; defaults to "on: push"
$ act [<event>] [options]
# List actions; lists default event when event arg is omitted
$ act some_event -l
# Run in dry-run mode
$ act -n
# Run a specific job
$ act -j some_job
# Run a specific event; runs default event when event arg is omitted
$ act some_event