GitHub Actions by Example

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • github-script

    Write workflows scripting the GitHub API in JavaScript

  • Nice idea, worth mentioning other features:

    * Reusable workflows (note: matrix strategy doesn't work here): https://docs.github.com/en/actions/using-workflows/reusing-w...

    * Composite actions: https://docs.github.com/en/actions/creating-actions/creating...

    * Script as action: https://github.com/actions/github-script

    * Using GitHub Packages and artifacts: https://docs.github.com/en/actions/publishing-packages/about...

    * Using docker-compose-like services that run alongside of the container: https://docs.github.com/en/actions/using-containerized-servi...

    And many, many more :)

  • learnxinyminutes-docs

    Code documentation written as code! How novel and totally my idea!

  • It's quite common:

    - Go By Example: https://gobyexample.com/

    - Rust By Example: https://doc.rust-lang.org/rust-by-example/

    - V [a weird knockoff of Go] By Example: https://v-community.gitbook.io/v-by-example/

    There's also 'Learn X in Y Minutes' (https://learnxinyminutes.com/), which covers a range of different 'X'es. They make it ridiculously easy to get going with a new tool/language, IMO. It's a superb paradigm in general.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • tiny-differentiable-simulator

    Tiny Differentiable Simulator is a header-only C++ and CUDA physics library for reinforcement learning and robotics with zero dependencies.

  • https://github.com/google-research/tiny-differentiable-simul...

  • https://github.com/google-research/tiny-differentiable-simul...

  • setup-msys2

    GitHub Action to setup MSYS2

  • > Actions reduce workflow steps by providing reusabe[sic] “code” for common tasks. To run an action, you include the uses keyword pointing to a GitHub repo with the pattern {owner}/{repo}@{ref} or {owner}/{repo}/{path}@{ref} if it’s in a subdirectory. A ref can be a branch, tag, or SHA.

    Aside from the typo, I wonder how many packages could be backdoored at once, if an action maintainer went rogue, seeing as there's no pinning for actions by default, and (according to https://github.com/msys2/setup-msys2/blob/main/HACKING.md) moving a tag is the default way to push updates to an action. (Interestingly get-cmake/run-cmake/run-vcpkg are all operated by the same person.)

  • ghactionsbyexample

    GitHub Actions by Example

  • Thanks! The page itself is just simple HTML and tables. I generated it from YAML files with a custom HTML generator, see for example: https://github.com/macintoshpie/ghactionsbyexample/blob/df6f...

  • dependabot-core

    🤖 Dependabot's core logic for creating update PR's.

  • Def a real concern.

    If anyone is interested to mitigate it yourself, these are helpful :)

    https://docs.github.com/en/actions/creating-actions/about-cu...

    https://github.com/dependabot/dependabot-core/issues/2835

    https://github.com/zgosalvez/github-actions-ensure-sha-pinne...

    https://github.com/timmeinerzhagen/dependabot-sha-comment-ac...

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • github-actions-ensure-sha-pinned-actions

    A Github Action to ensure that actions are pinned to full length commit SHAs

  • Def a real concern.

    If anyone is interested to mitigate it yourself, these are helpful :)

    https://docs.github.com/en/actions/creating-actions/about-cu...

    https://github.com/dependabot/dependabot-core/issues/2835

    https://github.com/zgosalvez/github-actions-ensure-sha-pinne...

    https://github.com/timmeinerzhagen/dependabot-sha-comment-ac...

  • Def a real concern.

    If anyone is interested to mitigate it yourself, these are helpful :)

    https://docs.github.com/en/actions/creating-actions/about-cu...

    https://github.com/dependabot/dependabot-core/issues/2835

    https://github.com/zgosalvez/github-actions-ensure-sha-pinne...

    https://github.com/timmeinerzhagen/dependabot-sha-comment-ac...

  • dependabot-sha-comment-action

    Discontinued Update your GitHub Actions with Dependabot while using secure SHA Commit pinning while maintaining human readable versioning comments.pinned to a SHA

  • Def a real concern.

    If anyone is interested to mitigate it yourself, these are helpful :)

    https://docs.github.com/en/actions/creating-actions/about-cu...

    https://github.com/dependabot/dependabot-core/issues/2835

    https://github.com/zgosalvez/github-actions-ensure-sha-pinne...

    https://github.com/timmeinerzhagen/dependabot-sha-comment-ac...

  • Def a real concern.

    If anyone is interested to mitigate it yourself, these are helpful :)

    https://docs.github.com/en/actions/creating-actions/about-cu...

    https://github.com/dependabot/dependabot-core/issues/2835

    https://github.com/zgosalvez/github-actions-ensure-sha-pinne...

    https://github.com/timmeinerzhagen/dependabot-sha-comment-ac...

  • roadmap

    GitHub public roadmap

  • Annoyingly, the private actions roadmap item https://github.com/github/roadmap/issues/74 was modified to "internal actions", i.e., only for GitHub Enterprise; notice how in the edit history it was changed from "private" to "internal".

  • toast

    Containerize your development and continuous integration environments. 🥂 (by stepchowfun)

  • If you're looking for an alternative way to reproduce your CI locally that isn't tied to a particular CI system (but which has a nice integration with GitHub Actions), there's also Toast: https://github.com/stepchowfun/toast

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts