This directory contains GitHub-specific configuration files for repository automation, dependency management, and CI/CD workflows.
.github/
├── workflows/ # GitHub Actions workflow definitions
│ ├── README.md # Workflow documentation
│ ├── create_tag.yml # Version bump and tag creation
│ ├── publish_action.yml # Publish to GitHub Marketplace
│ ├── pull_request_cleanup_tags_and_releases.yml # Cleanup test releases
│ └── push_code_linting.yml # ESLint PR reviews
├── dependabot.yml # Dependency update automation
├── github_event_jira_transitions.yml # Jira state transition mapping
└── github_event_jira_transitions.example.yml # Example configuration
Purpose: Automated dependency updates via GitHub Dependabot.
Configured Package Ecosystems:
| Ecosystem | Directory | Schedule | Labels |
|---|---|---|---|
github-actions |
/ |
Weekly | github-actions, dependencies |
docker |
/ |
Weekly | docker, dependencies |
npm |
/ |
Weekly | npm, dependencies |
All updates are assigned to jamie-bitflight for review.
Purpose: Maps GitHub events to Jira issue state transitions. This configuration file is used by workflows that automate Jira ticket management.
Structure:
projects:
PROJECT_KEY:
ignored_states: # States that won't be auto-transitioned
- 'done'
to_state:
'target state': # Jira state to transition to
- eventName: github_event_name
action: 'event_action' # Optional
payload: # Optional payload matching
key: valueConfigured Projects:
UNICORN- Maps create, pull_request, and pull_request_review eventsDVPS- Similar mapping with different state names
GitHub Events Mapped:
create- Branch/tag creationpull_request(opened, synchronized, closed+merged)pull_request_review(APPROVED)
Purpose: Template configuration for teams to customize Jira transition mappings.
See workflows/README.md for detailed documentation on:
create_tag.yml- Automatic version bumping and tag creationpublish_action.yml- GitHub Marketplace publicationpull_request_cleanup_tags_and_releases.yml- Test artifact cleanuppush_code_linting.yml- ESLint integration with PR reviews
PR Opened/Updated
│
├─► push_code_linting.yml (ESLint review)
│
└─► PR Merged to main
│
└─► create_tag.yml (version bump + tag)
│
└─► publish_action.yml (marketplace release)
PR Closed / Branch Deleted
│
└─► pull_request_cleanup_tags_and_releases.yml (cleanup)
- Create
.ymlfile inworkflows/ - Define triggers (
on:) - Add jobs and steps
- Update
workflows/README.md - Test on feature branch
Add to dependabot.yml:
- package-ecosystem: 'ecosystem-name'
directory: '/path'
schedule:
interval: 'weekly'
labels:
- 'ecosystem-name'
- 'dependencies'/action.yml- GitHub Action definition/package.json- NPM package configuration/.eslintrc.cjs- ESLint configuration (used by linting workflow)