gh-actions
gh-actions copied to clipboard
Add atomic PR ID job - Callable Workflow
đī¸ Tracking
Testing idea of atomic and testable workflow jobs
đ§ Type of change
- đ New feature development
- đ¤ Build/deploy pipeline (DevOps)
đ Objective
Add an atomic job to pull the PR ID that is associated with a commit SHA
đ Code changes
- .github/workflows/_get_pr_id.yml: Callable workflow to pull the PR ID associated with the repo and commit SHA via the GitHub API using the local GitHub TOKEN.
- .github/workflows/test_get_pr_id.yml: Test workflow that runs every time that the atomic PR ID job is updated
â° Reminders before review
- Contributor guidelines followed
- All formatters and local linters executed and passed
- Written new unit and / or integration tests where applicable
- Used internationalization (i18n) for all UI strings
- CI builds passed
- Communicated to DevOps any deployment requirements
- Updated any necessary documentation or informed the documentation team
đĻŽ Reviewer guidelines
- đ (
:+1:
) or similar for great changes - đ (
:memo:
) or âšī¸ (:information_source:
) for notes or general info - â (
:question:
) for questions - đ¤ (
:thinking:
) or đ (:thought_balloon:
) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion - đ¨ (
:art:
) for suggestions / improvements - â (
:x:
) or â ī¸ (:warning:
) for more significant problems or concerns needing attention - đą (
:seedling:
) or âģī¸ (:recycle:
) for future improvements or indications of technical debt - â (
:pick:
) for minor or nitpick changes