Problem: You created a workflow file but it doesn't appear in the Actions tab.
Diagnosis:
- Check the file exists: Go to your repo → Code tab →
.github/workflows/ - Verify file path is correct: Must be exactly
.github/workflows/filename.yml - Check file name: Should end with
.ymlor.yaml
Solutions:
-
YAML Syntax Error: Your workflow has invalid syntax
- Fix: Use a YAML validator (yamllint.com)
- Check indentation (must be 2 spaces, not tabs)
- Check quotes around strings with special characters
-
Wrong File Location: File is not in
.github/workflows/- Fix: Move file to correct directory
- GitHub only recognizes workflows in this exact path
-
Branch Issue: File exists on a different branch
- Fix: Make sure file is on main/master branch
- Go to Code tab, verify branch dropdown
How to Fix:
- Delete the incorrectly placed file
- Go to Actions → New workflow → set up a workflow yourself
- Copy code from WORKFLOW_TEMPLATES.md
- Paste into editor
- Commit directly to main
Problem: Workflow appears in Actions tab but all jobs show red X (failed).
Diagnosis:
- Click the workflow run
- Click the failed job
- Expand each step to find the error
- Look for red text with error message
Common Error Messages & Fixes:
"Resource not found"
- Cause: GitHub token doesn't have permission
- Fix: Go to Settings → Actions → General → Workflow permissions
- Select "Read and write permissions"
"jvzhu is not a valid username"
- Cause: Reviewer username doesn't exist
- Fix: Change
['jvzhu']to your actual GitHub username
"Label does not exist"
- Cause: Trying to add a label that isn't created yet
- Fix: Go to Issues → Labels, create any missing labels
"Project not found"
- Cause: Project number is wrong or project is deleted
- Fix: Go to your project board, check the URL for correct number
- Update workflow with correct
projects/3value
Problem: Created issue with [BUG] or [FEATURE] but no labels were added.
Diagnosis:
- Go to Actions tab
- Click "Issue Auto-Management" workflow
- Find your issue creation timestamp
- Click that run
- Click "auto-label" job
- Expand all steps and look for errors
Common Causes:
Labels don't exist:
- Fix: Go to Issues → Labels
- Create labels: "bug", "enhancement", "data collection"
Issue title doesn't match trigger:
- Your issue title: "Fix login bug"
- Trigger expects: "[BUG]" or "[FEATURE]" format
- Fix: Edit issue title to include
[BUG]or use lowercase "bug" in title
Workflow not committed correctly:
- File exists but wasn't properly saved
- Fix: Delete workflow file and recreate via GitHub UI
Problem: You created a PR but no reviewers were requested.
Diagnosis:
- Go to Actions tab
- Click "Pull Request Automation" workflow
- Find the run matching your PR creation time
- Click that run
- Click "request-reviewers" job
- Look at the error output
Common Causes:
Reviewer username doesn't exist:
- You specified:
reviewers: ['jvzhu'] - But user "jvzhu" doesn't exist or access is denied
- Fix: Change to your actual username
- Verify the user exists: https://github.com/username
Repository access:
- Repository doesn't have Actions enabled
- Fix: Go to Settings → Actions → enable Actions
PR doesn't trigger workflow:
- Workflow only runs on
pull_requestevents - Make sure trigger is correct in workflow file
- Verify PR was created, not just drafted
Problem: Issues aren't being added to project board automatically.
Diagnosis:
- Create a test issue
- Go to Actions tab
- Click "Issue Auto-Management" workflow
- Find the run from when you created the issue
- Click "add-to-project" job
- Look for error messages
Common Causes:
Project not linked to repository:
- Go to your project board (https://github.com/users/jvzhu/projects/3)
- Click ... → Settings
- Verify "Linked repositories" includes your repo
- Fix: Add repository if missing
Wrong project number in workflow:
- Workflow references:
projects/3 - Your actual project:
projects/5 - Fix: Update project number in workflow
- Find correct number from project URL
GitHub Actions permissions:
- Go to repository Settings
- Actions → General
- Under "Workflow permissions" select "Read and write permissions"
Project is archived:
- Archived projects can't be updated
- Fix: Unarchive project first
Problem: PR validation workflow doesn't run when you modify data files.
Diagnosis:
- Create a PR that modifies
data/folder orsources.md - Go to Actions tab
- Look for "Data Collection Validation" run
- If no run appears, workflow isn't being triggered
Common Causes:
Wrong file paths in workflow:
- Workflow watches:
data/**andsources.md - Your files:
docs/data/file.csv - Fix: Update file paths in workflow trigger
PR not targeting main branch:
- Workflow only runs PRs to specific branches
- Make sure PR targets
mainormaster
Workflow syntax error:
- Paths section has invalid YAML
- Fix: Copy workflow from WORKFLOW_TEMPLATES.md again
Problem: CHANGELOG.md not being updated automatically.
Diagnosis:
- Make a commit to main branch
- Go to Actions → "Changelog & Release" workflow
- Check if run appears after 2-3 minutes
- Click run and check logs
Common Causes:
CHANGELOG.md doesn't exist:
- Workflow tries to update it but file doesn't exist
- Fix: Create CHANGELOG.md manually first
- Add:
# Changelogas content
Wrong branch trigger:
- Workflow only runs on
mainormaster - You pushed to
feature-branch - Fix: Merge to main or update trigger in workflow
No recent commits:
- Changelog only generates if commits exist
- Merge a PR or make a commit
- Then check Actions tab for new run
Problem: Workflow completes successfully but no actual changes occur.
Diagnosis:
- Click the workflow run
- Look at job logs
- Check if it says "Skipped" for steps
- Search logs for "echo" statements to see what ran
Common Causes:
Conditional logic preventing execution:
- Workflow has
if:conditions that aren't met - Example:
if: github.event.action == 'opened' - But event action was 'edited'
- Fix: Test with manual trigger first
Insufficient permissions:
- Workflow can run but can't modify files/labels
- Goes through the motions with no effect
- Fix: Check workflow permissions (see #5)
Workflow just logging information:
- Not all workflows make changes
- Some only validate or report
- This is normal behavior
Problem: Even though you have workflow files, Actions tab is empty.
Diagnosis:
- Go to Code tab
- Navigate to
.github/workflows/ - Do you see your workflow files listed?
Solutions:
If files exist but don't show in Actions:
- Files have syntax errors
- Copy workflow from WORKFLOW_TEMPLATES.md
- Delete bad workflow file
- Create new one with corrected code
If files don't exist:
- Navigate to Actions → New workflow
- Click "set up a workflow yourself"
- Copy code from WORKFLOW_TEMPLATES.md
- Name the file correctly
- Commit
If Actions tab is disabled:
- Go to Settings → Actions
- Select "Allow all actions and reusable workflows"
- Click Save
Problem: Workflow fails with "permission denied" message.
Diagnosis: Look at the specific error:
- "permission denied: could not create .github/workflows/..."
- "GITHUB_TOKEN does not have permission..."
Solutions:
Can't create workflow files directly:
- Use GitHub UI (Actions → New workflow)
- Don't try to create via API or push
- This is expected if you don't have write access
GITHUB_TOKEN permissions issue:
- Go to Settings → Actions → General
- Under "Workflow permissions"
- Select "Read and write permissions"
- Click Save
Repository access issues:
- Verify you're a collaborator on the repo
- Admin or Maintain role needed for Actions
- Ask repo admin to grant access
- Go to Actions tab
- Look for red X or orange circle
- Click on the run
- Click the job name (e.g., "auto-label")
- Each step shows:
- ✅ Green checkmark = success
- ❌ Red X = failed
- ⊘ Gray circle = skipped
- Click the failed step to expand it
- Look for error text (usually red)
- Copy the error message
- Use to troubleshoot (search TROUBLESHOOTING.md)
- Go to Actions tab
- Click the workflow name
- Click ... menu
- Select Edit workflow
- Review the code for issues
- Go to Actions tab
- Click the workflow name
- Click Run workflow button
- Select your branch
- Click Run workflow (green button)
- Check the logs to see what happens
Use manual testing to:
- Verify workflow works
- Debug configuration issues
- Test changes before committing
- AUTOMATION.md - Workflow descriptions
- WORKFLOW_TEMPLATES.md - Correct code examples
- WORKFLOW_SETUP_GUIDE.md - Step-by-step setup
- This file - TROUBLESHOOTING.md - Common issues
- Check Actions tab logs carefully
- Search for your error message in this guide
- Verify workflow code matches WORKFLOW_TEMPLATES.md
- Try recreating the workflow from scratch
Last Updated: 2026-06-21 Need more help? See AUTOMATION.md, WORKFLOW_SETUP_GUIDE.md, or WORKFLOW_TEMPLATES.md