Awesome Actions
Actionsを扱う資料や関連プロジェクトをまとめたAwesomeリストです。
目次
公式資料
- Official Site
- Official Documentation
- Official Actions organization
- actions/virtual-environments - GitHub Actions の仮想環境
- actions/runner - GitHub Actions 用のランナー
- GitHub Blog Announcement
ワークフロー例
- actions/starter-workflows - スターター ワークフロー管理
- actions/example-services - サービスコンテナを使用した例ワークフロー
公式Action
ワークフローツールAction
ワークフローで使用するツールActionです。
- actions/checkout - ワークフローにリポジトリを設定する
- actions/upload-artifact - ワークフローからアーテファクトをアップロードする
- actions/download-artifact - ビルドからアーテファクトをダウンロードする
- actions/cache - GitHub Actions で依存関係とビルド出力のキャッシュを実行する
- actions/github-script - GitHub API およびワークフローコンテキスト用のスクリプトを書く
GitHub自動化Action
Issue、プルリクエスト、リリースの管理を自動化します。
- actions/create-release - GitHub リリース API を使ってリリースを作成するアクション
- actions/upload-release-asset - GitHub リリース API を使ってリリースアセットをアップロードするアクション
- actions/first-interaction - 初めて参加したユーザーからのプルリクエストとイシューをフィルタリングするアクション
- actions/stale - 最近の相互作用がないイシューおよびプルリクエストをマークする
- actions/labeler - プルリクエストに自動でラベルを付与するアクション
- actions/delete-package-versions - GitHub Packages からパッケージのバージョンを削除する
セットアップAction
指定バージョンのプログラミング言語をGitHub Actionsワークフローへセットアップします。
- actions/setup-node: Node.js
- actions/setup-python: Python
- actions/setup-go: Go
- actions/setup-dotnet: .NET core sdk
- actions/setup-haskell: Haskell (GHC and Cabal)
- actions/setup-java: Java
- actions/setup-ruby: Ruby
- actions/setup-elixir: Elixir
- actions/setup-julia: Julia
Actionの作成
JavaScript・TypeScript Action
- actions/toolkit - GitHub Actions を開発するための GitHub ToolKit
- actions/hello-world-javascript-action - JavaScript アクションの構築方法を示すテンプレート
- actions/javascript-action - JavaScript アクションを作成する
- actions/typescript-action - TypeScript アクションを作成する
- actions/http-client - アクション、TypeScript との組み合わせに最適化された軽量 HTTP クライアント
DockerコンテナーAction
- actions/hello-world-docker-action - Dockerアクションを構築する方法を示すテンプレート。
- actions/container-toolkit-action - actions/toolkitを使用してコンテナアクションを作成するためのテンプレートリポジトリ。
コミュニティ資料
GitHubツールと管理
- Declaratively setup GitHub Labels
- Action to sync GitHub labels in the declarative way
- Add releases to GitHub
- Publish a docker image to Dockerhub
- Create an issue using content from a file
- Publish GitHub Releases with Assets
- GitHub Project Automation+ - GitHubプロジェクトカードを、どのウェブ훅イベントでも自動化。
- Run GitHub Actions Locally with a web interface
- Run GitHub Actions Locally in Terminal
- Build and Publish Android debug APK
- Generate sequential build numbers for GitHub Actions
- Push Git changes to GitHub repository without authentication difficulties
- Generate release notes based on your events
- Create a GitHub wiki page based on the provided markdown file
- Label your Pull Requests auto-magically (using committed files)
- Add Label to your Pull Requests based on the author team name
- Get a list of file changes with PR/Push
- Use private actions in any workflow
- Label Your Issues Using the Issue’s Contents
- Rollback a GitHub Release
- Lock Closed Issues and Pull Requests after a Period of Inactivity
- Get Commit Difference Count Between Two Branches
- Generate Release Notes Based on Git References
- Enforce Policies on GitHub Repositories and Commits
- Auto Label Issue Based on Issue Description
- Update Configured GitHub Actions to the Latest Versions
- Create Issue Branch
- Remove Old Artifacts
- Expose Git Commit Data As Environment Variables
- Sync Defined Files/Binaries to Wiki or External Repositories
- Create/Update/Delete a GitHub Wiki Page Based on Any File
- Prow GitHub Actions - ポリシーの実行、チャットオペレーション、自動PRマージを自動化。
- Check GitHub Status in your Workflow
- Manage Labels on GitHub (create/rename/update/delete) as Code
- Continuous Distribution of Funding to your Project Contributors and Dependencies
- Herald Rules for GitHub: Add Subscribers, Assignees, Labels, and More to Your PR
- GitHub Codeowners Validator - GitHub CODEOWNERSファイルの正確性を確認。公開・プライベートリポジトリおよびGitHub Enterpriseのインストールに対応。
- Copybara Action - 複数のリポジトリ間でコードを移動・変換(1つのモノリスリポジトリから複数リポジトリを維持する場合に最適)。
Actionコレクション
- Use HashiCorp’s Terraform
- GitHub Actions for Yarn 1
- GitHub Actions for Yarn 2
- GitHub Actions for Golang
- GitHub Actions for R and accompanying #rstats package
- GitHub Actions for WordPress
- GitHub Actions for Composer
- GitHub Actions for Flutter
- GitHub Actions for PHP
- GitHub Actions for Rust
- GitHub Actions for Android
- GitHub Actions for Logtalk and Prolog
- GitHub Actions for Deno
- GitHub Actions for Unity
- Octions - GitHub Actions for GitHub REST API
- GitHub Actions for Docker
- GitHub Actions for AWS
- Actions Hub
ユーティリティ
- Setup
ssh-agent-ssh-agentに追加の SSH キーを設定して、プライベートリポジトリにアクセスする - GitHub Actions Badges for your README
- GitHub Actions for Python project with poetry
- GitHub Actions for Python project with pyenv
- GitHub Actions to compile LaTeX documents
- Update Maxmind Databases
- Debug with SSH over tmate - SSH接続を提供することで、アクションを直接デバッグ。
- Unlock git-crypt files
- Golang CGO cross compiler
- Run your job on another architecture: arm32, aarch64 and others
- Generate a table of contents
- Automatically add Label or Assignee to an Issue
- Action to send LGTM reaction as image or GIF when we say lgtm
- Generate build numbers across multiple scopes
- Publish GitHub release artifacts
- Jekyll Diff Action - コード変更後に構築されたJekyllサイトの差分を取得し、GitHubにコメントを返す。
- Branch Protection Bot - ブランチ保護の「管理者を含める」オプションを一時的に無効・有効に切り替える。
- Wait for commit statuses - すべてのステータスとチェックが成功するか、いずれかが失敗したかを確認し、その結果をステータス出力として設定。
- Get Latest Tag - gitから前のタグを取得。
- Create Milestone - タイトルと説明から新しいオープンミリタリーを作成。
- Close Milestone - 指定されたミリタリーを閉じる。
- Action to enforce branch naming rules
- Expose slug of some GitHub variables
- awesome-lint as a GitHub Action
- Edit JSON File
- Build Slate documentation
- Read Properties -
.propertiesファイルから値を読み取る。 - Write Properties -
.propertiesファイルに値を書き込む。 - Autotag - マニフェストファイル(つまり
package.json)のバージョンが変更されたときに、自動的に新しいタグを生成する - Apply templates with Jinja2 - Jinja2テンプレートエンジンを使用して、テンプレートからファイルを生成。
- Has Changes - 前ステップからのコード変更があるかを確認。
- Mind Your Language Action - イシューおよびプルリクエストに含まれる攻撃的なコメントを検出し、送信者に警告を送信。
- YAML/JSON/XML Converter - YAML/JSON/XMLファイルフォーマットを互換的に変換。
- NSFW Detection - コミットされたファイルにNSFWコンテンツを検出。
- Has Changed Path - 変更されたパスに基づいて条件付きにアクションを実行する
- Linguist - リポジトリをチェックし、使用されている言語に関する情報を出力する
- Twilio Voice Call - Twilioによる音声通話を行う
- Setup Xcode - macOSイメージに事前にインストールされたXcodeのバージョンを切り替える
- Setup Xamarin - macOSイメージに事前にインストールされたXamarinおよびMonoのバージョンを切り替える
- Memer Action - Programmer Memes xD 用のGitHubアクション
- Setup Cocoapods - 特定バージョンのCocoapodsを設定する
- Public IP - GitHubアクションランナーのパブリックIPアドレスを問い合わせる
- GitHub Actions for Lazarus/FPC
- Twilio Fax - Twilioアカウントを使ってファックスでドキュメントを送信する
- Setup Kubernetes tools - ランナーにKubernetesツール(kubectl、kustomize、helm、kubeval、conftest、yq)をインストールする
- Setup Elastic Cloud Control Tool - ランナーに特定バージョンのecctlをインストールする
- PowerShell Script - PowerShell スクリプトをワークフローのコンテキスト(例:
$github.token)およびコマンドレットで実行し、返値 => アクション出力 - Upload and Scan Files with VirusTotal
- Import a GPG Key
- Compress with UPX - eXecutables用の究極のパッカー
- Pull the New Go Module Version Into the Proxy Cache - あなたのGoモジュールの最新バージョンをプロキシキャッシュに確保し、リリース時にpkg.go.devのドキュメントを更新する
- Delete Run Artifacts - ワークフロー実行の終了時にすべてのアーティファクトを削除する
- GitHub Environment Variables Action - ブランチ/タグ名、リポジトリスラグ、リファレンススラグなどの環境変数を公開する
- GitHub Action Locks - GitHubアクションワークフローの原子的な実行を保証する
- Paths Filter - PR、機能ブランチ、またはプッシュされたコミットによって変更されたファイルに基づいて条件付きにアクションを実行する
- Minisauras - ベースブランチからすべてのJavaScriptおよびCSSファイルを取得し、最小化して新しいブランチにプルリクエストを作成する
- Website to GIF - 任意のウェブページをGIFに変換し、READMEやドキュメントなどに表示する
- Interactive Inputs - Runtime workflow inputs - GitHubアクションワークフローに実行時(runtime)に動的に入力項目を追加する
環境
- Create an envfile
- Export global environment variables for succeeding build steps
- Programmatically set environment variables for use in subsequent steps
- Install Conda environments for Python
- Setup NativeScript
- Create a JSON Environment File
依存関係
- Install NPM Dependencies with Caching
- Highlight New NPM Dependencies - プルリクエストに新たに NPM 依存関係の情報をコメントを追加する
- Cache NPM Dependencies
- Cache Yarn Dependencies
セマンティックバージョニング
- Next SemVers - 指定されたセマンティックバージョン(SemVer)に基づき、マイナー、マイナーバージョン、パッチバージョンの次のバージョンを出力する
- Get latest SemVer and branch name given a search string
- Cut Release Branch - ブランチプレフィックスとオプションのセマンティックバージョンを指定してリリースブランチを切り分ける
- Increment Semantic Version - 指定されたリリースタイプに応じて、指定されたセマンティックバージョン(SemVer)をアップグレードする
静的解析
- PHPStan Static code analyzer Action
- GraphQL Inspector Action
- PowerShell static analysis with PSScriptAnalyzer
- Run tfsec, with reviewdog output on the PR
テスト
- Run Tests through Puppeteer, the Headless Chrome Node API
- xUnit Slack Reporter: Sends summary of tests from xUnit reports to a Slack channel
- Run codeception tests
- Run TestCafe tests
- Run Unity tests
- Run Cypress E2E tests
- Test Ansible roles with Molecule
- Run performance testing with artillery.io
- Detect Flaky Tests with BuildPulse
- Display Inline Code Annotations for Jest Tests
- Run Julia tests
Lint
- PHP Coding Standards Fixer Action
- Runs Hadolint against a Dockerfile within a repository
- Run ESLint, with reviewdog output on the PR
- JavaScript-based linter for *.workflow files
- Lint terraform files using tflint, with reviewdog output on the PR
- autopep8: Automatically formats Python code to conform to the PEP 8 style guide
- Run
ergebnis/composer-normalizeto ensure your PHP project has a normalizedcomposer.json - Run
stolt/lean-package-validatorto ensure your package has only the requiredruntimeartifacts - Run Go lint checks on PR event
- Node.js - Automatically run the
formatand/orlintscript used by the package - Stylelinter - GitHub Action that runs stylelint
- Run stylelint, with reviewdog output on the PR
- PyCodeStyle Action - A GitHub Action that leaves a comment on your PR with pycodestyle (autopep8) feedback
- wemake-python-styleguide - The strictest and most opinionated python linter ever, with optional reviewdog output on the PR
- Run TSLint with status checks and file diff annotations
- Lint Pull Request commits with commitlint
- Run vint, with reviewdog output on the PR
- Run mispell, with reviewdog output on the PR
- Run golangci-lint, with reviewdog output on the PR
- Run shellcheck, with reviewdog output on the PR
- Catch insensitive, inconsiderate writing in your markdown docs
- Run dotenv-linter - Lints your .env files like a charm, with optional reviewdog output on the PR
- Run dotenv-linter, with reviewdog output on the PR
- Show and auto-fix linting errors for many programming languages
- PHP_CodeSniffer With Annotations
- Linter for markdown (with presets)
- Stylelint problem matcher to create annotations
- Run sqlcheck on the PR to identifies anti-patterns in SQL queries
- Validate Fastlane Supply Metadata Against the Play Store Guidelines
- Run Golint to lint your Golang code
セキュリティ
- A vulnerability scanner for your docker images
- Automatically approve and merge Dependabot updates
- Run dlint security linter on your Python code
- AWS Secrets Manager Actions - AWS Secrets Managerのシークレットを環境値に定義する
- Linting your AWS IAM policy documents for correctness and security issues
- Secret Spreader - それ自体のアクションではないが、複数リポジトリ間のアクションシークレットを管理するためのツール
- Secrets Sync Action - アクションが複数リポジトリ間のシークレの同期を行う
- Snyk Test Action
- Manage Your GitHub Actions Secrets With A Simple CLI
- SecretHub - シークレットの一つの真実源を保ち、必要に応じてGitHub Actionsにロードする
コードカバレッジ
- Scan code with SonarCloud
- Send your code coverage to codecov.io
- Publishing code coverage to CodeClimate
- Update repository go report card
動的解析
監視
- Audit a webpage with Google Chrome’s Lighthouse tests
- Runs Lighthouse and posts results to PRs and Slack
- Run Lighthouse in CI using GitHub Actions
- Continuous Benchmarking and Benchmark Visualization for Go
- Size Limit Action - PRにおけるJavaScriptのコスト比較をコメントし、上限を超えた場合はそれを拒否する
- Check bundlephobia - bundlephobia.ioサイトに基づき、新しいまたは変更されたパッケージサイズをコメントし、閾値を超えた場合はPRを拒否する
プルリクエスト
- Set PR Reviewers Based on Assignees
- Open or Update PR on Branch Push (with Branch Selection)
- Automatically Rebase a PR
- Label PR once it has a Specified Number of Approvals
- Add Labels to a PR based on Matched File Patterns
- Auto-Approve PRs
- Automatically add Reviewers to PR based on the Configuration File
- Add Labels to a PR based on Branch Name Patterns
- Add Labels to a PR based on Total Size of the Diff
- Automatically merge PRs That Are Ready
- Verify That PRs Contain a Ticket Reference
- Create a PR for Changes to your Repository in the Actions Workspace
- Lint a PR
- ChatOps for PRs
- Prefix Title and Body of a PR Based on Text Extracted from Branch Name
- Block Autosquash Commits
- Automatically Bump and Tag on Merge
- Automatically Update PRs with Outdated Checks and Squash and Merge the Ones Matching All Branch Protections
- Merge Pal - Automatically Update and Merge PRs
- Enforce naming convention on pull request title
- Pull Request Stuck Notifier
- Lint pull request name with commitlint (Awesome if you squash merge !)
- Block PR merges when Checks for target branches are failing
- Get generated static site screenshots updated by Pull Request
- Add Labels Depending if the Pull Request Still in Progress
- Ticket Check Action - すべてのプルリクエストのタイトルの先頭にチケットまたはイシュー番号を自動的に追加する
- Pull Request Lint With Regex
- Pull Request Landmines
- Annotate a GitHub Pull Request Based on a Checkstyle XML-Report
- Pull Request Stats - レビュワーに関する関連情報を表示する
- Pull Request Description Enforcer - プルリクエストに説明を強制する
GitHub Pages
- Deploy a Zola site to GitHub Pages
- Build Hugo static content site and publish it to gh-pages branch
- Build a Jekyll site—with Custom Jekyll Plugins & Build Scripts—and deploy it back to the Gh-Pages Branch
- Google Dataset Search Metadata - そして他のschema.org抽出器を用いて、GitHubページからデータセットを検索可能にする
- GitHub Actions for deploying to GitHub Pages with Static Site Generators
- GitHub Action for Hexo
- Deploy Google Analytics stats to GitHub Pages
- A Jupyter Notebook Blogging Platform Powered by GitHub Actions, Pages and Jekyll
- Deploy A Static Site to GitHub Pages - カスタムディレクトリにデプロイし、フォルダやファイルを無視する
- Deploy to GitHub Pages with Advanced Settings
通知とメッセージ
- Send a Discord notification
- Post a Slack message as a bot
- Send an SMS from GitHub Actions using Nexmo
- Send an SMS from GitHub Actions using Clockworksms
- Send a Telegram Message
- Send a File or Text Message to Discord (custom define color, username or avatar)
- Collaborate on tweets using pull requests
- Send a Push Notification via Push by Techulus
- Send email with SendGrid
- Send a Push Notification via Join
- New package version checker for npm
- New package version checker for NuGet
- New package version checker for Gradle
- Send a Push Notification via Pushbullet
- Create an Outlook Calendar Event using Microsoft Graph
- Watch for GitHub Wiki page changes and post to Slack
- Send an SMS using MessageBird
- Reply to Stale Bots
- Send an Embed Message to Discord
- Keep Your PRs in Sync With Teamwork Tasks
- Send Microsoft Teams Notification
配備
- Deploy to Netlify
- Deploy a Probot App using Actions
- Deploy a playlist to Spotify
- Deploy VS Code extensions with vsce
- Purge Cloudflare cache after updating a website
- Deploy your DNS configuration using DNS Control
- Deploy a Theme to Shopify
- Trigger multiple GitLab CI Pipeline
- Trigger multiple Jenkins Jobs
- GitHub Action for Homebrew Tap
- Copy files and artifacts via SSH
- Executing remote ssh commands
- Publish a Python distribution package to PyPI
- Deploy Static Website to Azure Storage
- Cross platform Chocolatey CLI to build and publish packages
- Deploy iOS Pod Library to Cocoapods
- GitHub Action for TencentCloud Serverless
- Publish npm (pre)releases
- Deploy a static site to Surge.sh
- GitHub Action for GoReleaser, a release automation tool for Go projects
- FTP Deploy Action, Deploys a GitHub project to a FTP server using GitHub actions
- Publish Article to Dev.to
- Action For Semantic Release
- Deploy a Collection to Ansible Galaxy
- Publish module to Puppet Forge
- Build and publish Electron apps
- Publish a Maven package
- Build and deploy a theme to Ghost CMS
- Deploy an Ansible role to Ansible Galaxy
- Publish one or more JS modules to a registry
- Publish a package with 2FA using Slack
- Serialize Workflow Runs in Continuous Deployment Pipelines
- Netlify Deploy GitHub Action for each commit
- Run Ansible Playbooks
- Publish a Python Distribution Package to Anaconda Cloud
- Deploy VS Code Extension to Visual Studio Marketplace or the Open VSX Registry
- Deploy a YouTube Video to Anchor.fm Podcast
- Deploy with AWS CodeDeploy
Docker
- Update a Docker Hub repository description from README.md
- Publish Docker Images to the GitHub Package Registry (GPR)
- Update a repository’s “Full description” on Docker Hub
- Build and publish docker images to any registry using Kaniko
- Monitor and limit your docker image size
- Publish Docker Images to the Amazon Elastic Container Registry (ECR)
- Build And Push Your Docker Images Caching Each Stage To Reduce Build Time
- Set up Docker Buildx
- Convert Branch or Tag Name Into Docker-Compatible Image Tag
- Update a Container Repository Description From README.md - サポートされているレジストリ:Docker Hub、Quay、Harbor
Kubernetes
- Deploy to any Cloud or Kubernetes Using Pulumi
- Deploy to Kubernetes with kubectl
- Get Kubeconfig File From Google Kubernetes Engine (GKE)
- Kustomize Kubernetes Config YAMLs
- Create a Kubernetes Cluster for Testing Using Krucible
AWS
Terraform
- Generate terraform documentation - terraform-docs を使用して terraform モジュールのドキュメントを生成する
- An example of using Terraform to validate and apply GitHub administration
外部サービス
- Use a Jenkinsfile
- GitHub Action for Firebase
- GitHub Action for Contentful Migration CLI
- GitHub Actions for Pixela (a-know/pi)
- GitHub Action for Google Cloud Platform (GCP)
- Upload files to any OpenStack Swift service provider
- GitHub Action for sending Stack Overflow posts to Slack
- Assume AWS role
- Generate Custom Response using JSONbin
フロントエンドツール
- Execute Gradle task
- JS Build Actions - GruntまたはGulpのビルドタスクを実行し、ファイル変更をコミットする
- GitHub Action for Gatsby CLI
- Runs a WebPageTest audit and prints the results as commit comment
- GitHub Actions for Hugo extended
- Generate OG Image - Markdownファイルからカスタマイズ可能なOpen Graph画像を生成する
- GitHub Actions for mdBook
- Setup Mint - Mint(シングルページアプリケーションを書くためのプログラミング言語)を設定する
- Gatsby AWS S3 Deployment - GatsbyをS3にデプロイ(CloudFrontをサポート)
機械学習運用
- Submitting Argo Workflows (Cloud Agnostic)
- Submitting Argo Workflows to GKE
- Query Experiment Tracking Results From Weights & Biases
- Run Parameterized Jupyter Notebooks
- Compile, Deploy and Run Kubeflow Pipeline
- Automatically Dockerize A Data-Science Repo As A Jupyter Server
- Azure Machine Learning With GitHub Actions
ビルド
- run-cmake - CMakeとNinjaでC/C++ソフトウェアをビルドするマルチプラットフォームAction。
- run-vcpkg - vcpkgでC/C++依存関係をビルド、インストールするマルチプラットフォームAction。
- Build Go applications for multiplatform
- Generate ~/.m2/settings.xml for Maven builds
- Run Pascal Script
- Setup Brainfuck - brainfuckインタープリターセットアップする
- Publish Go Binaries to GitHub Release Assets
- Setup COBOL
- Check Gradle version - Gradleのバージョンを常に最新に保つ
データベース
- Setup Cassandra Schema - Cassandra クラスタ上に提供されたフォルダ内のスクリプトを実行する
ネットワーク
- Setup ZeroTier - ランナーを ZeroTier ネットワークに接続する
ローカライズ
- Find and automatically fix typos and grammar issues in your code
- Translation - 任意の言語から任意の言語へテキストを翻訳する
遊び
- Add equivalent of a like button in your README - リードメの一部にコミュニティの承認を可視化(これはポールとして利用可能)
チートシート
チュートリアル
- Continuous deployment of Next.js app with Up
- Converting Docker-based Actions to JavaScript/TypeScript
- GitHub Actions CI for Swift/iOS Projects
- Working with GitHub Actions
- GitHub Actions for Rails Developers
- GitHub Actions Advent Calendar
- Zero Downtime Laravel Deployments with GitHub Actions
- Building Custom GitHub Actions Pluralsight Course
- Continuously Deploying Django to DigitalOcean with Docker and GitHub Actions
- Deploying Self-Hosted GitHub Actions Runners with Docker - Docker および Docker Swarm を使用して、DigitalOcean にセルフホスト型 GitHub Actions ランナーをデプロイする
- Setup Auto-scaled self-hosted GitHub Actions Runners on AWS Spot-instances
- Getting the Gist of GitHub Actions
Please don’t hesitate to make a PR if you have more resources to share. Check out contributing.md for more information.