2 min read
GitHub will mask all the configured secrets from it's logs, but sometimes some secrets are retrieves from different sources (like AWS credentials, secrets fetched from other sources...) We don't want them to be stored as clear text in the GiHub's Actions logs, so we'll have to use add-mask to prevent it
10/01/2023
Read more...2 min read
As part of a CI/CD pipeline involving GitHub Actions we might want to be able to add a comment to the PR to notify the user about something:
name: demo_add_comment_pr
on:
pull_request:
types: [opened, ready_for_review]
push:
branches:
- '**'
- '!main'
paths:
- cluster-resources/**
- tests/**
workflow_dispatch:
(...)
12/12/2022
Read more...1 min read
If we want to share data between steps (on a Github action) it's just not enough to export a variable like this:
export VARIABLE_NAME
05/10/2021
Read more...2 min read
When using Github Actions secrets, it won't show any secrets on the action's logs: It is going to replace any string that matches with an existing secret with ***
24/08/2022
Read more...3 min read
If you have a tool that uses the python's click module for building a command line interface. Using mkdocs and mkdocs-click we can automatically generate documentation for it
14/06/2022
Read more...