Skip to content
Discussion options

You must be logged in to vote

Your workflow is in a feature branch. The Actions tab only lists workflows from the default branch. Until the file exists on the default branch it will not show up for manual runs.

Add a manual trigger to the workflow and merge it to the default branch under .github/workflows with a .yml or .yaml extension. Then use Run workflow to choose your feature branch as the ref.

Here is a minimal example you can commit to the default branch.

name: Manual check

on:
  workflow_dispatch:

jobs:
  echo:
    runs-on: ubuntu-latest
    steps:
      - name: Show ref
        run: |
          echo "Ref is $GITHUB_REF"

This appears in the Actions tab once it is on the default branch. You can then pick your…

Replies: 1 comment

This comment was marked as off-topic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Actions Build, test, and automate your deployment pipeline with world-class CI/CD Question Ask and answer questions about GitHub features and usage Workflow Deployment Topics about deploying workflows, publishing artifacts, and deployment targets in GitHub Actions. Misc General discussions about GitHub Actions that don't fit other found themes.
2 participants