Managing Secrets Within Github Actions

  • The aim of this tutorialšŸ” is a successful setup of secrets to authenticate a request to Zendesk Help Center API

1. Secret creation

  • Open repo
  • Open workflow file .\github\workflows\mail.yaml
  • the whole workflow that checks out my private repo, runs a publish script located in that repo, and then checks in changes done by that script look as follows

2. what are secrets

  • encrypted environment variables to be used in workflows

3. how do you make a secret available to an action?

  • either set as input in a workflow file (not covered here)

4. github token

  • a secret automatically generated
  • usecases: running automated github workflows for features within github (adding labels, creating issues, etc)

5. list used sources

--

--

Infrastructure Support Engineer/Technical Writer (snowplow.io) with a passion for Python/writing documentation. More about me: https://pavol.kutaj.com

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Pavol Kutaj

Infrastructure Support Engineer/Technical Writer (snowplow.io) with a passion for Python/writing documentation. More about me: https://pavol.kutaj.com