oHTGo / setup-cloudflare-warp-action

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A Cloudflare WARP GitHub Action Using TypeScript

The action sets up Cloudflare WARP in your GitHub Actions workflow. It allows GitHub Actions workflows to access resources that are secured by Cloudflare Zero Trust.

Requirements

On the GitHub-hosted runner, the action currently supports Linux, macOS and Windows since Add WLAN AutoConfig service for Windows image issue was resolved.

Usage

To use this action, generate a service token using these instructions and configure the action:

uses: oHTGo/setup-cloudflare-warp-action@master
with:
  organization: your-organization
  auth_client_id: ${{ secrets.AUTH_CLIENT_ID }}
  auth_client_secret: ${{ secrets.AUTH_CLIENT_SECRET }}

Inputs

  • organization - (required) The name of your Cloudflare Zero Trust organization.
  • auth_client_id - (required) The service token client ID.
  • auth_client_secret - (required) The service token client secret.
  • version - (optional) The version of Cloudflare WARP to install. Defaults to the latest version.

Troubleshooting

  1. Status update: Unable to connect. Reason: Registration Missing
  • Check that the service token is valid and not expired.
  • Check that the service token has the appropriate permissions to connect.
  • Cancel and restart the job, sometimes there's an issue on Cloudflare's end that causes this error.

Inspired from

About

License:MIT License


Languages

Language:TypeScript 94.9%Language:Shell 5.1%