This document describes the automated workflows configured for your repositories.
File: issue-automation.yml
Triggers: When issue is created, reopened, or edited
Actions:
- Automatically adds new issues to the Data Gathering project board
- Auto-labels issues based on keywords:
[BUG]→ labels as "bug"[FEATURE]→ labels as "enhancement"[DATA]→ labels as "data collection"
- Auto-assigns issues to the issue creator
File: pr-automation.yml
Triggers: When PR is opened/reopened or pushed to main/master/develop
Actions:
- Links PRs to related issues (references like #123)
- Auto-requests reviewers on new PRs
- Validates PR description has sufficient detail
- Warns if PR doesn't reference an issue
File: project-board-automation.yml
Triggers: Issue/PR state changes and weekly schedule
Actions:
- Moves issues to "Done" column when closed
- Moves issues to "Backlog" column when opened
- Archives completed issues older than 30 days
- Closes stale issues (60+ days inactive)
File: data-collection-validation.yml
Triggers: PRs affecting /data/ or sources.md
Actions:
- Validates PR has required data collection metadata:
- Data Source information
- Collection Method documentation
- Proper Citations/Sources
- Verifies sources.md is updated
- Auto-generates data collection report
File: changelog-release.yml
Triggers: Pushes to main/master and tag creation
Actions:
- Auto-generates CHANGELOG.md from recent commits
- Creates GitHub releases automatically
- Updates repository metrics in documentation
File: docs-update.yml
Triggers: Pushes to main/master, weekly schedule, issue state changes
Actions:
- Updates README.md with current metrics
- Updates PROJECT_MANAGEMENT.md with issue breakdowns
- Verifies issue templates exist and are current
- Syncs documentation across branches
- Go to your repository
- Click Actions tab
- Click New workflow
- Create files in
.github/workflows/with the content in WORKFLOW_TEMPLATES.md
See WORKFLOW_TEMPLATES.md for ready-to-use workflow code
Replace placeholders:
jvzhu→ your usernameprojects/3→ your project number- Reviewer names and assignments
- Workflows are enabled by default once committed
- Check Actions tab to see workflow runs
To manually run a workflow:
- Go to Actions tab
- Select the workflow name
- Click Run workflow
- Select the branch
- Click Run workflow button
- Documentation updates (daily at midnight UTC)
- Stale issue detection (Sundays)
- Archive old completed issues
- Documentation sync
- Issue created → Auto-label, add to board
- PR created → Validate, request reviewers
- PR closed → Move to Done column
To disable a workflow temporarily:
- Go to Actions tab
- Click the workflow name
- Click ... menu
- Select Disable workflow
To re-enable:
- Same location
- Click ... menu
- Select Enable workflow
Permission Errors:
- Ensure
GITHUB_TOKENhas sufficient permissions - Check repository settings → Actions → General → Workflow permissions
Issues Not Auto-Labeled:
- Verify label names match exactly
- Check that the label exists in your repository
PRs Not Linked to Issues:
- Ensure PR body includes
Fixes #123orRelates to #456 - Use the proper syntax
Project Board Not Updating:
- Verify project exists and is linked to repository
- Check that project number in workflow is correct
- Ensure project is accessible to GitHub Actions
Release Creation Failed:
- Verify tag format follows
v*pattern - Check that CHANGELOG.md exists
- Go to Actions tab
- Click a workflow run to see details
- Click a job to see logs
Repository → Insights → Actions shows:
- Workflow execution history
- Pass/fail rates
- Execution times
Add to workflow for dynamic configuration:
env:
PROJECT_NUMBER: 3
REVIEWER_NAME: jvzhuRun steps only if conditions met:
if: github.event.action == 'opened'Test across multiple versions/environments:
strategy:
matrix:
node-version: [14, 16, 18]- Keep Workflows Simple - One purpose per workflow
- Use Descriptive Names - Makes logs easier to read
- Monitor Performance - Check if workflows cause slowdowns
- Document Changes - Update this guide when modifying workflows
- Regular Reviews - Periodically check if workflows still serve their purpose
Last Updated: 2026-06-21 Maintained By: Research Team