You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The god of this planet wants your journey to be useful and pleasant one. However, it is still nice to give a proper thanks to this planet...
Your mission
Learn about GitHub Actions
Activity - Let's create your first GitHub Actions
Learn about GitHub Actions
GitHub Actions 101
GitHub Actions is a GitHub product that allows you to automate your workflows.
Workflows stored as yml files
Fully integrated with GitHub
Respond to GitHub events
Live logs and visualized workflow execution
Community-powered workflows
GitHub-hosted or self-hosted runners
Built-in secret store
GitHub Actions Marketplace
Discover open-source Actions across multiple domains
~10,000 Actions (and counting...)
Verified creators
Reference these Actions directly in your workflow
Integrated into the GitHub editor
High level architecture of GitHub Actions
Basic syntax
# Defines the namename: Super Linter Workflow# Event that will get triggered. In this case, it gets triggered by push eventon:
push:
# Different jobs can be definedjobs:
# Name of joblint:
# Name of this jobname: Lint Code Base# Type of runner. In this case, it is a default GitHub Actions runnerruns-on: ubuntu-latest# You can define different stepssteps:
# First, checkout the code from the repo
- uses: actions/checkout@v2# Uses the super-linter from GitHub Action plugin
- uses: github/super-linter@v3env:
# GitHub secret value can be usedGITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Let's create your first GitHub Actions
You need to create a GitHub Actions to say a proper greeting with a message:
Thank you for warm welcoming! My name is xxx
I will enjoy my time in this wonderful GitHub Actions planet!
To do this you need to do the following steps:
Copy the scripts below and save into your note
Create a branch named hello-username where username is your GitHub username
Go to .github/workflows directory and click Add file. Type in following format action-hello-username.yml where you will replace username with your own GitHub username. Save the file by commiting to the directory.
Make a Pull Request to the main branch
Somebody will approve the workflow.
You can then run your workflow
# Change this line with username with your GitHub usernamename: Hello from @usernameon:
workflow_dispatch:
inputs:
myName:
description: "Please type in your name"required: truedefault: ''jobs:
Hello-GitHub-Actions:
runs-on: ubuntu-latestname: Just saying "hi"steps:
- name: Hello, GitHub Actions planetrun: | echo "Thank you for warm welcoming! My name is ${{ github.event.inputs.myName }}" echo "I will enjoy my time in this wonderful GitHub Actions planet!"
⏭️ After you are done, you can close this issue to move forward to next one.
The text was updated successfully, but these errors were encountered:
Welcome to Hello, GitHub Actions continent
Your mission
Learn about GitHub Actions
GitHub Actions 101
GitHub Actions is a GitHub product that allows you to automate your workflows.
GitHub Actions Marketplace
High level architecture of GitHub Actions
Basic syntax
Let's create your first GitHub Actions
You need to create a GitHub Actions to say a proper greeting with a message:
To do this you need to do the following steps:
hello-username
where username is your GitHub username.github/workflows
directory and click Add file. Type in following formataction-hello-username.yml
where you will replace username with your own GitHub username. Save the file by commiting to the directory.⏭️ After you are done, you can close this issue to move forward to next one.
The text was updated successfully, but these errors were encountered: