gh-actions icon indicating copy to clipboard operation
gh-actions copied to clipboard

Add atomic PR ID job - Callable Workflow

Open joseph-flinn opened this issue 1 year ago â€ĸ 0 comments

🎟ī¸ 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

joseph-flinn avatar Nov 21 '23 21:11 joseph-flinn