This repository is a collection of GitHub Actions and workflows to demonstrate various features and capabilities of GitHub Actions. It includes examples of workflows, composite actions, Docker-based actions, and JavaScript-based actions.
The purpose of this repository is to provide a comprehensive guide to learning and using GitHub Actions. It contains several custom actions and workflows that showcase different use cases and functionalities.
- File:
.github/workflows/azure-webapps-dotnet-core.yml
- Description: This workflow builds and pushes a .NET Core app to an Azure Web App when a commit is pushed to your default branch.
- File:
.github/workflows/caller-greeting.yml
- Description: This workflow calls a reusable workflow to greet a specified user.
- File:
.github/workflows/close-inactive-issues.yml
- Description: This workflow closes inactive issues after a specified period of inactivity.
- File:
.github/workflows/composite-action.yml
- Description: This workflow uses a composite action to greet a specified user.
- File:
.github/workflows/conditional-env.yml
- Description: This workflow demonstrates the use of conditional environment variables.
- File:
.github/workflows/dev-env.yml
- Description: This workflow demonstrates the use of environments to manually trigger workflow jobs.
- File:
.github/workflows/docker-action.yml
- Description: This workflow uses a Docker-based action to greet a specified user.
- File:
.github/workflows/env-variables.yml
- Description: This workflow demonstrates the use of environment variables.
- File:
.github/workflows/event-properities.yml
- Description: This workflow prints all properties of an event to the console.
- File:
.github/workflows/issue-comment.yml
- Description: This workflow adds a comment to an issue when the "help wanted" label is added.
- File:
.github/workflows/javascript-action.yml
- Description: This workflow uses a JavaScript-based action to greet a specified user.
- File:
.github/workflows/job-dependency.yml
- Description: This workflow demonstrates job dependencies.
- File:
.github/workflows/label-issues.yml
- Description: This workflow labels issues when they are opened or reopened.
- File:
.github/workflows/manual-inputs.yml
- Description: This workflow defines inputs for manually triggered workflows.
- File:
.github/workflows/matrix.yml
- Description: This workflow demonstrates the use of a matrix strategy to run jobs on multiple operating systems and Node.js versions.
- File:
.github/workflows/reusable-greeting.yml
- Description: This workflow demonstrates the use of a reusable workflow to greet a specified user.
- File:
.github/workflows/run-bash-script.yml
- Description: This workflow runs a Bash script.
- File:
.github/workflows/run-powershell.yml
- Description: This workflow runs a PowerShell script.
- File:
.github/workflows/schedule-issue-creation.yml
- Description: This workflow creates a weekly team sync issue.
- File:
.github/workflows/self-hosted-runner.yml
- Description: This workflow runs a job using a self-hosted runner.
- File:
.github/workflows/upload-download-artifact.yml
- Description: This workflow demonstrates how to share data between jobs using artifacts.