Skip to content

j2kun/extension-trigger-gh-workflow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Trigger GH Workflow

A button to trigger a GitHub Actions workflow.

Usage

From the extensions details page, click "Extension Options" to set the user, repo, worfklow id, and token.

Then click the extension icon to trigger the workflow.

Currently requires the workflow to accept a specific input for the source URL, or else the REST call will fail with "unknown inputs" (HTTP error code 422).

name: Echo URL
permissions:
  contents: write
on:
  workflow_dispatch:
    inputs:
      url:
        description: 'Echo URL'
jobs:
  echo_url:
    runs-on: ubuntu-latest
    steps:
      - name: Echo URL
        run: echo "${{ github.event.inputs.url }}"

Not going to publish this thing, just load it unpacked in developer mode.

About

A chrome extension to trigger a GitHub workflow

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published