From 9c14ca94f4929bf56f134e1d4a7a4825337245ae Mon Sep 17 00:00:00 2001 From: BSKY Date: Sun, 3 Nov 2019 04:54:22 +0900 Subject: [PATCH 1/8] Add actions/cache --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 10ef08c..65642ab 100644 --- a/README.md +++ b/README.md @@ -81,6 +81,7 @@ An example: `https://github.com/sdras/awesome-actions/workflows/Lint%20Awesome%2 - [Many linters and autofixers for various languages](https://github.com/bltavares/actions) - [Node.js Actions Toolkit](https://github.com/JasonEtco/actions-toolkit) +- [Cache dependencies and build outputs](https://github.com/actions/cache) - [Use HashiCorp's Terraform](https://github.com/hashicorp/terraform-github-actions) - [GitHub Actions for Yarn](https://github.com/Borales/actions-yarn) - [GitHub Actions for Golang](https://github.com/cedrickring/golang-action) From 0104233642e503f860c5b8447809dd9807a00771 Mon Sep 17 00:00:00 2001 From: peaceiris <30958501+peaceiris@users.noreply.github.com> Date: Sun, 3 Nov 2019 06:31:42 +0900 Subject: [PATCH 2/8] Revert "Add actions/cache" This reverts commit 9c14ca94f4929bf56f134e1d4a7a4825337245ae. --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index 65642ab..10ef08c 100644 --- a/README.md +++ b/README.md @@ -81,7 +81,6 @@ An example: `https://github.com/sdras/awesome-actions/workflows/Lint%20Awesome%2 - [Many linters and autofixers for various languages](https://github.com/bltavares/actions) - [Node.js Actions Toolkit](https://github.com/JasonEtco/actions-toolkit) -- [Cache dependencies and build outputs](https://github.com/actions/cache) - [Use HashiCorp's Terraform](https://github.com/hashicorp/terraform-github-actions) - [GitHub Actions for Yarn](https://github.com/Borales/actions-yarn) - [GitHub Actions for Golang](https://github.com/cedrickring/golang-action) From fab0960296943295b862441784f2554709deb505 Mon Sep 17 00:00:00 2001 From: peaceiris <30958501+peaceiris@users.noreply.github.com> Date: Sun, 3 Nov 2019 06:14:02 +0900 Subject: [PATCH 3/8] Remove notes GitHub Actions accepts only the YAML format workflow setting file now. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 10ef08c..63340df 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ Actions are triggered by GitHub platform events directly in a repo and run on-de - [Official Site](https://github.com/features/actions) - [Official Community Forum Board](https://github.community/t5/GitHub-Actions/bd-p/actions) -- [Official Documentation](https://help.github.com/en/categories/automating-your-workflow-with-github-actions) (for YML format actions) +- [Official Documentation](https://help.github.com/en/categories/automating-your-workflow-with-github-actions) - [Official Actions Collection](https://github.com/actions) - [GitHub Blog Announcement](https://blog.github.com/2018-10-17-action-demos/) From 164f8709c09cdbfc8517b12edbaccffe8b15298b Mon Sep 17 00:00:00 2001 From: peaceiris <30958501+peaceiris@users.noreply.github.com> Date: Sun, 3 Nov 2019 06:37:26 +0900 Subject: [PATCH 4/8] Update redirected links --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 63340df..65782cf 100644 --- a/README.md +++ b/README.md @@ -39,15 +39,15 @@ Actions are triggered by GitHub platform events directly in a repo and run on-de - [Official Site](https://github.com/features/actions) - [Official Community Forum Board](https://github.community/t5/GitHub-Actions/bd-p/actions) -- [Official Documentation](https://help.github.com/en/categories/automating-your-workflow-with-github-actions) +- [Official Documentation](https://help.github.com/en/github/automating-your-workflow-with-github-actions) - [Official Actions Collection](https://github.com/actions) -- [GitHub Blog Announcement](https://blog.github.com/2018-10-17-action-demos/) +- [GitHub Blog Announcement](https://github.blog/2018-10-17-action-demos/) ### Status badge ![GitHub Actions status | sdras/awesome-actions](https://github.com/sdras/awesome-actions/workflows/Lint%20Awesome%20List/badge.svg) -[Adding a workflow status badge to your repository - GitHub Help](https://help.github.com/en/articles/configuring-a-workflow#adding-a-workflow-status-badge-to-your-repository) +[Adding a workflow status badge to your repository - GitHub Help](https://help.github.com/en/github/automating-your-workflow-with-github-actions/configuring-a-workflow#adding-a-workflow-status-badge-to-your-repository) URL to a status badge SVG. From f5eab5fd44eab6a431a4187ff562e1056d99962d Mon Sep 17 00:00:00 2001 From: peaceiris <30958501+peaceiris@users.noreply.github.com> Date: Sun, 3 Nov 2019 08:01:43 +0900 Subject: [PATCH 5/8] Split Official Resources --- README.md | 69 +++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 67 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 65782cf..e2009e0 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,15 @@ Actions are triggered by GitHub platform events directly in a repo and run on-de ## Contents - [Official Resources](#official-resources) + - [Workflow Examples](#workflow-examples) + - [Official Actions](#official-actions) + - [Workflow Tool Actions](#workflow-tool-actions) + - [Actions for GitHub Automation](#actions-for-github-automation) + - [Setup Actions](#setup-actions) + - [Create your Actions](#create-your-actions) + - [JavaScript and TypeScript Actions](#javascript-and-typescript-actions) + - [Docker Container Actions](#docker-container-actions) + - [Status Badge](#status-badge) - [Community Resources](#community-resources) - [GitHub Tools and Management](#github-tools-and-management) - [Collection of Actions](#collection-of-actions) @@ -40,10 +49,66 @@ Actions are triggered by GitHub platform events directly in a repo and run on-de - [Official Site](https://github.com/features/actions) - [Official Community Forum Board](https://github.community/t5/GitHub-Actions/bd-p/actions) - [Official Documentation](https://help.github.com/en/github/automating-your-workflow-with-github-actions) -- [Official Actions Collection](https://github.com/actions) +- [Official Actions organization](https://github.com/actions) + - [actions/virtual-environments](https://github.com/actions/virtual-environments) - GitHub Actions virtual environments. - [GitHub Blog Announcement](https://github.blog/2018-10-17-action-demos/) -### Status badge +### Workflow Examples + +- [actions/starter-workflows](https://github.com/actions/starter-workflows) - Starter workflow management. +- [actions/example-services](https://github.com/actions/example-services) - Example workflows using service containers. + +### Official Actions + +#### Workflow Tool Actions + +Tool actions for your workflow. + +- [actions/checkout](https://github.com/actions/checkout) - Setup your repository on your workflow. +- [actions/upload-artifact](https://github.com/actions/upload-artifact) - Upload artifacts from your workflow. +- [actions/download-artifact](https://github.com/actions/download-artifact) - Download artifacts from your build. +- [actions/cache](https://github.com/actions/cache) - Cache dependencies and build outputs in GitHub Actions. +- [actions/github-script](https://github.com/actions/github-script) - Write a script for GitHub API and the workflow contexts. +- [actions/github](https://github.com/actions/github) - Wraps actions-toolkit into an Action for common GitHub automations. + +#### Actions for GitHub Automation + +Automate management for issues, pull requests, and releases. + +- [actions/create-release](https://github.com/actions/create-release) - An Action to create releases via the GitHub Release API. +- [actions/upload-release-asset](https://github.com/actions/upload-release-asset) - An Action to upload a release asset via the GitHub Release API. +- [actions/first-interaction](https://github.com/actions/first-interaction) - An action for filtering pull requests and issues from first-time contributors. +- [actions/stale](https://github.com/actions/stale) - Marks issues and pull requests that have not had recent interaction. +- [actions/labeler](https://github.com/actions/labeler) - An action for automatically labelling pull requests. + +#### Setup Actions + +Set up your GitHub Actions workflow with a specific version of your programming languages. + +- [actions/setup-node: Node.js](https://github.com/actions/setup-node) +- [actions/setup-python: Python](https://github.com/actions/setup-python) +- [actions/setup-go: Go](https://github.com/actions/setup-go) +- [actions/setup-dotnet: .NET core sdk](https://github.com/actions/setup-dotnet) +- [actions/setup-haskell: Haskell (GHC and Cabal)](https://github.com/actions/setup-haskell) +- [actions/setup-java: Java](https://github.com/actions/setup-java) +- [actions/setup-ruby: Ruby](https://github.com/actions/setup-ruby) +- [actions/setup-elixir: Elixir](https://github.com/actions/setup-elixir) + +### Create your Actions + +#### JavaScript and TypeScript Actions + +- [actions/toolkit](https://github.com/actions/toolkit) - The GitHub ToolKit for developing GitHub Actions. +- [actions/hello-world-javascript-action](https://github.com/actions/hello-world-javascript-action) - A template to demonstrate how to build a JavaScript action. +- [actions/javascript-action](https://github.com/actions/javascript-action) - Create a JavaScript Action. +- [actions/typescript-action](https://github.com/actions/typescript-action) - Create a TypeScript Action. + +#### Docker Container Actions + +- [actions/hello-world-docker-action](https://github.com/actions/hello-world-docker-action) - A template to demonstrate how to build a Docker action. +- [actions/container-toolkit-action](https://github.com/actions/container-toolkit-action) - Template repo for creating container actions using actions/toolkit. + +### Status Badge ![GitHub Actions status | sdras/awesome-actions](https://github.com/sdras/awesome-actions/workflows/Lint%20Awesome%20List/badge.svg) From f351a62bb9ec2cd36e9457484d66c888af9d95f4 Mon Sep 17 00:00:00 2001 From: peaceiris <30958501+peaceiris@users.noreply.github.com> Date: Sun, 3 Nov 2019 08:14:22 +0900 Subject: [PATCH 6/8] Reduce toc level --- README.md | 5 ----- 1 file changed, 5 deletions(-) diff --git a/README.md b/README.md index e2009e0..eab8aef 100644 --- a/README.md +++ b/README.md @@ -19,12 +19,7 @@ Actions are triggered by GitHub platform events directly in a repo and run on-de - [Official Resources](#official-resources) - [Workflow Examples](#workflow-examples) - [Official Actions](#official-actions) - - [Workflow Tool Actions](#workflow-tool-actions) - - [Actions for GitHub Automation](#actions-for-github-automation) - - [Setup Actions](#setup-actions) - [Create your Actions](#create-your-actions) - - [JavaScript and TypeScript Actions](#javascript-and-typescript-actions) - - [Docker Container Actions](#docker-container-actions) - [Status Badge](#status-badge) - [Community Resources](#community-resources) - [GitHub Tools and Management](#github-tools-and-management) From dd439cf0a3feadfaf2034da0292687a0f47692a3 Mon Sep 17 00:00:00 2001 From: peaceiris <30958501+peaceiris@users.noreply.github.com> Date: Sun, 3 Nov 2019 08:18:03 +0900 Subject: [PATCH 7/8] Fix to avoid lint error --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index eab8aef..b9228d2 100644 --- a/README.md +++ b/README.md @@ -64,7 +64,7 @@ Tool actions for your workflow. - [actions/download-artifact](https://github.com/actions/download-artifact) - Download artifacts from your build. - [actions/cache](https://github.com/actions/cache) - Cache dependencies and build outputs in GitHub Actions. - [actions/github-script](https://github.com/actions/github-script) - Write a script for GitHub API and the workflow contexts. -- [actions/github](https://github.com/actions/github) - Wraps actions-toolkit into an Action for common GitHub automations. +- [`actions/github`](https://github.com/actions/github) - Wraps actions-toolkit into an Action for common GitHub automations. #### Actions for GitHub Automation From b681ad89f8622cdcdf458484025d9504af2e5abe Mon Sep 17 00:00:00 2001 From: peaceiris <30958501+peaceiris@users.noreply.github.com> Date: Sun, 3 Nov 2019 08:27:28 +0900 Subject: [PATCH 8/8] Update status badge example --- README.md | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index b9228d2..abdbd0a 100644 --- a/README.md +++ b/README.md @@ -107,15 +107,20 @@ Set up your GitHub Actions workflow with a specific version of your programming ![GitHub Actions status | sdras/awesome-actions](https://github.com/sdras/awesome-actions/workflows/Lint%20Awesome%20List/badge.svg) -[Adding a workflow status badge to your repository - GitHub Help](https://help.github.com/en/github/automating-your-workflow-with-github-actions/configuring-a-workflow#adding-a-workflow-status-badge-to-your-repository) +- [Adding a workflow status badge to your repository - GitHub Help](https://help.github.com/en/github/automating-your-workflow-with-github-actions/configuring-a-workflow#adding-a-workflow-status-badge-to-your-repository) URL to a status badge SVG. -``` -https://github.com/{github_id}/{repository}/workflows/{workflow_name}/badge.svg -``` +```sh +# Workflow name +https://github.com///workflows//badge.svg -An example: `https://github.com/sdras/awesome-actions/workflows/Lint%20Awesome%20List/badge.svg` +# File path +https://github.com///workflows//badge.svg + +# An example +https://github.com/sdras/awesome-actions/workflows/Lint%20Awesome%20List/badge.svg +``` ## Community Resources