faizol88 / hello-github-actions

https://lab.github.com/githubtraining/github-actions:-hello-world
MIT License
0 stars 0 forks source link

Welcome #1

Open github-learning-lab[bot] opened 2 years ago

github-learning-lab[bot] commented 2 years ago

Welcome

This course helps you create a simple GitHub Action and use that action in a workflow.

What are GitHub Actions?

GitHub Actions are a flexible way to automate nearly every aspect of your team's software workflow. Here are just a few of the ways teams are using GitHub Actions:

The sky is truly the limit with GitHub Actions.

The best part, these workflows are stored as code in your repository and easily shared and reused across teams.

To learn even more, check out the GitHub Actions feature page, or the GitHub Actions documentation.

Before you begin

In this course you will work with issues and pull requests, as well as edit files. If these things are not familiar to you, we recommend you take the Introduction to GitHub course, first!

github-learning-lab[bot] commented 2 years ago

Actions and Workflows

There are two components to using GitHub Actions that we'll cover:

A workflow can contain many actions. Each action has its own purpose. We'll put the files relating to the action in their own directories.

Types of Actions

Actions come in two types: container actions and JavaScript actions.

Docker container actions allow the environment to be packaged with the GitHub Actions code and can only execute in the GitHub-Hosted Linux environment.

JavaScript actions decouple the GitHub Actions code from the environment allowing faster execution but accepting greater dependency management responsibility.

Step 1: Add a Dockerfile

Our action will use a Docker container so it will require a Dockerfile. Let's add it now. We won't discuss what each line means in detail, but the important thing to know is that the action will be executed in an environment defined by this file.

:keyboard: Activity: Create a Dockerfile and open a pull request

  1. Create a file titled action-a/Dockerfile by using this quick link or manually:

    • Create a new branch. Branches should be named intentionally, so a good name for this branch could be first-action.
    • On the new branch, create a directory: action-a. Note: If you're working on GitHub.com, you can create a directory and a file at the same time by naming the file action-a/Dockerfile.
    • In the action-a directory, create a file titled Dockerfile.
  2. Fill the Dockerfile with the content below:

    FROM debian:9.5-slim
    
    ADD entrypoint.sh /entrypoint.sh
    RUN chmod +x /entrypoint.sh
    ENTRYPOINT ["/entrypoint.sh"]
  3. Commit your file

    • If you're working locally, you will also need stage your file and to push the branch to GitHub.
  4. Open a pull request with your new branch against main


I'll respond in your new pull request with next steps.

faizol88 commented 2 years ago

Check out our store on Shopee now! rdmce4x5c38jhwou8x1sxcmtafmh :https://feeds.shopee.com.my/universal-link/share/ABpO7bJgBgCNWxETAAAAAA%3D%3D?smtt=0.0.9

siberianbear commented 8 months ago

Hi,Send me a link to the vacancy, please. 19.02.2024, 10:44, "JK-0" @.>: Hello,We have an exciting opportunity for you! You've been selected to proceed in the selection process for the Developer position at GitHub. Congratulations on your achievement!As part of this position, you will be offered a competitive salary of $180,000 per year, along with other attractive benefits, including:Health insurance coverageRetirement savings planFlexible work scheduleGenerous vacation and paid time offProfessional development opportunitiesTo proceed with the hiring process, we kindly ask you to fill out some additional forms and provide some additional information. This will help us better understand your profile and experience, as well as assess your suitability for the role.Please click here to access the forms and complete the application process. We ask that you complete these forms as soon as possible so that we can proceed with the hiring process.Important: You have 24 hours to complete the application process.If you have any questions or need further information, please don't hesitate to contact us.Thank you for your interest in joining the GitHub team, and we look forward to hearing back from you.Best regards,GitHub Recruitment TeamdragonH, @funkybase, @ZAYEC77, @BavariaBlue, @siberianbear, @soqt, @zhangrunhao, @kevlozano, @jbreyc, @f-87, @aowongster, @KY-zero, @luizpicolo, @detailyang, @xmas7, @jaywcjlove, @tyrant08, @Banny-Gao, @wangjh7, @twpony—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.>