Upgrade to Pro — share decks privately, control downloads, hide ads and more …

GitHubUniverseRecap2024

pnsk
November 27, 2024
460

 GitHubUniverseRecap2024

pnsk

November 27, 2024
Tweet

Transcript

  1. GitHub Actions Is a CI/CD platform. It lets us automate

    workflows at every step in software development process.
  2. Matrix jobs Workflow • Test multiple versions of dependencies or

    multiple OS versions • Speed up testing processes
  3. continue-on-error • Handling a failure job like roll backing the

    deployment • Negative test Expected use cases
  4. Deployment history • Deployment view • Pinging environments (max: 10)

    • More filters on the view ◦ Creators, statues, environments, commits.
  5. • Required reviewers • Wait timer • Custom rules with

    GitHub Apps Deployment protection rules Environment
  6. Performance metrics Insight • How long did workflows/jobs take to

    complete? • How long did workflows/jobs wait to run? • Which workflows/jobs are consistently failing? • Where is the longest running workflows/jobs?
  7. Immutable Actions Mutable References Actions can be referenced in workflow

    by Git tag, release name, branch name or SHA. Tag in particular are mutable by design. Risk Mutable references can become subject to history overwrite attacks or changes to the target of the Git tags Looks like a released version, but is a Git tag
  8. Immutable Actions • Actions is published as OCI packages to

    GitHub Container Registry • Immutable version tags with SemVer SemVer that points at immutable artifact