Skip to content

Instantly share code, notes, and snippets.

@gpsarkar
Created February 21, 2023 13:25
Show Gist options
  • Save gpsarkar/b0b403331ced06a5d4cd4aa08dd0e395 to your computer and use it in GitHub Desktop.
Save gpsarkar/b0b403331ced06a5d4cd4aa08dd0e395 to your computer and use it in GitHub Desktop.
run github action for a separate branch
### Create an action like this
------
name: ACTION NAME
on:
workflow_dispatch:
### install github cli
### Command to trigger
gh workflow run 'ACTION NAME' --ref personal/BRANCH_NAME
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment