Interview Prep/Git & GitHub/GitHub, Actions and Pull Request Issues

A workflow pushes a commit or tag, but the workflow that should run on that push or tag never starts.

IntermediateTroubleshootingGitHub, Actions and Pull Request Issues
Answer

Likely causes → By design, events created with the repository GITHUB_TOKEN do not trigger new workflow runs (except workflow_dispatch and repository_dispatch). This prevents recursive loops.

Diagnose → Check which token the push used, and the Actions tab: no run exists for that push event.

Fix → Push with a GitHub App installation token or a fine-grained PAT:

- uses: actions/create-github-app-token@v1
  id: app
  with:
    app-id: ${{ vars.RELEASE_APP_ID }}
    private-key: ${{ secrets.RELEASE_APP_KEY }}
- uses: actions/checkout@v4
  with:
    token: ${{ steps.app.outputs.token }}

Or chain explicitly with workflow_run or gh workflow run.

Prevent → Prefer a GitHub App token for release automation; avoid long-lived personal PATs.

All Git & GitHub questions Roadmap: Git & GitHub

More on GitHub, Actions and Pull Request Issues