How to Use GitHub Actions Environment Variables and Secrets

Опубликовано: 31 Октябрь 2024
на канале: Snyk
3,883
38

Use Snyk for free to find and fix security issues in your applications today! https://snyk.co/ugLYn

Today we show you how to use GitHub Actions Environment Variables and Secrets!

Read more about how to use GitHub Actions environment variables and secrets in this blog post: https://snyk.co/ugTx5

✍️ Resources ✍️
Sample Project Repository: https://github.com/snyk-snippets/gith...
Snyk GitHub Actions: https://github.com/snyk/actions/
GitHub Actions Default Environment Variables: https://docs.github.com/en/actions/le...
Create a Snyk Account: https://snyk.co/ugLYn
Get Your Snyk API Token: https://app.snyk.io/account

⏲️ Chapters ⏲️
00:00 - Intro
01:28 - GitHub Secrets
02:45 - How to Fork a Repository in GitHub
04:26 - Branches for you to use as a reference
05:14 - Enabling the workflows
06:06 - pipeline.yml (Starting Point)
07:40 - Workflow Scope Level Environment Variable
10:28 - Job Level Environment Variable
13:15 - Step Level Environment Variable
15:31 - GitHub's Built-in Environment Variables
16:20 - How to use GitHub Secrets
19:52 - How set up and use the Snyk GitHub Action
25:53 - Outro

⚒️ About Snyk ⚒️

Snyk helps you find and fix vulnerabilities in your code, open-source dependencies, containers, infrastructure-as-code, software pipelines, IDEs, and more! Move fast, stay secure.

Learn more about Snyk: https://snyk.co/ugLYl

📱 Connect with Us 📱

🖥️ Website: https://snyk.co/ugLYl
🐦 X:   / snyksec  
💼 LinkedIn:   / snyk  
💬 Discord:   / discord  
▶️ Subscribe: https://www.youtube.com/c/SnykSec?sub...
🔥 We're hiring! Check our open roles: https://snyk.co/ugLYp

🔗 Hashtags 🔗
#DevSecOps #github #code #codingtips