Welcome to "Hello GitHub Actions"! :wave:
What is GitHub Actions?: GitHub Actions is a flexible way to automate nearly every aspect of your team's software workflow. You can automate testing, continuously deploy, review code, manage issues and pull requests, and much more. The best part, these workflows are stored as code in your repository and easily shared and reused across teams. To learn more, check out these resources:
What is a workflow?: A workflow is a configurable automated process that will run one or more jobs. Workflows are defined in special files in the .github/workflows
directory and they execute based on your chosen event. For this exercise, we'll use a pull_request
event.
pull_request
event before using it, see "pull_request".To get you started, we used actions to go ahead and made a branch and pull request for you.
base: main
and compare:welcome-workflow
, click Create pull request..github/workflows/
folder, then select Add file and click on Create new file.welcome.yml
.welcome.yml
file:
name: Post welcome comment
on:
pull_request:
types: [opened]
permissions:
pull-requests: write