GitHub Actions: Your First Repository and the Actions Tab
A repository holds the code that GitHub Actions will check. The Actions tab is where its workflows live.
Create the repository
Give the new repository a name and make it public.
Name: a1learner-github-actions-demo
Visibility: Public
Add a README: yesFind the Actions tab
The tab sits at the top of the repository page.
Code Issues Pull requests ActionsCheck Actions is on
The tab shows starter workflows until the first file is added.
Set up a workflow yourselfExample
1. Create the repository a1learner-github-actions-demo
2. Make it public and add a README
3. Open the Actions tab
4. Check Actions is switched onKey points
- A repository is a folder of code stored on GitHub.
- Use the Actions tab to see every workflow run.
- A run is one execution of a workflow.
- Actions is switched on by default for most new repositories.
- The demo repository for this course is public, so its runs are free.
- The repository holds the code. The Actions tab shows what automation did with it.
In this example, the checklist creates the demo repository. The first step names it and makes it public. The second step adds a README. The third step opens the Actions tab. The fourth step checks that Actions is switched on. No workflow file exists yet, so no runs are listed.
Note
If Actions is switched off, the tab says so and offers a button to switch it on.
Try it Yourself
Edit the code, then press Run.
Running is simulated · Rust Playground
Exercise
Where do you see workflow runs?