To test Pelican GitHub Actions, install act. act is a Go program which runs GitHub Actions locally. You can install it from Nix, from your preferred package manager, or from Go source.
You will need a GitHub PAT. Read the instructions for issuing a fine-grained PAT. Get one from your PAT settings page once logged in to GitHub.
The PAT is necessary because the Pelican GHA reads from this repository. You will therefore need to issue a PAT which has public read access to all repositories. Choose a suitable expiry date; long expiries for read only PATs are probably fine.
Run the Pelican GHA using:
DOCKER_HOST=unix:///.../docker.sock act \ --container-architecture linux/amd64 \ --container-daemon-socket - \ -s GITHUB_TOKEN \ push
You don‘t need to specify the container architecture if you’re already using linux/amd64.