Zebra/.github
Gustavo Valverde 5fa40216df
refactor (actions): make better use of variables, secrets and versions (#3393)
* style: use global variables and don't double print

Remove repeated instances of global environment variables. Do not print ENV variables on the terminal as GitHub Actions already shows it.

* fix (actions): Use fixed major versions for actions

As actions get recurrent fixes, using a specific version causes more maintance on the pipelines.

On the other hand, using @master versions could make some action unreliable, as breaking changes might be included without further notice, and even change behavior on a daily basis.

* refactor: make better use of ENV variables

A whole step with refex was being used to extract different variables from GitHub's environment. This gets depecrated in favor of using `rlespinasse/github-slug-action@v4` which has slug URL variables.

A SLUG on a variable will:
- put the variable content in lower case
- replace any character by - except 0-9, a-z, ., and _
- remove leading and trailing - character
- limit the string size to 63 characters

This changes also takes care of using the Head or Base branch for deployments. This will allow us tomerge of workflows, as most steps on this deployment actions are very similar, with little variations between workflows.

* fix (actions): use secrets for sensitive information

* revert: use specific versions for dependabot

Reverting commit 8c934099028e0651e464678c096d8d3815efe95c
2022-01-26 21:46:18 -04:00
..
ISSUE_TEMPLATE Remove "solution" from the ticket template (#2385) 2021-06-24 10:43:27 +01:00
PULL_REQUEST_TEMPLATE Add install.md to checklist, update to use a single PR (#3282) 2021-12-23 10:16:15 -03:00
workflows refactor (actions): make better use of variables, secrets and versions (#3393) 2022-01-26 21:46:18 -04:00
dependabot.yml Use the correct conditions and merge method in Mergify (#3341) 2022-01-13 23:34:09 +00:00
mergify.yml fix(mergify): use low-priority queue for the correct jobs (#3406) 2022-01-26 07:45:14 -04:00
pull_request_template.md Update GitHub and RFC templates based on retrospectives (#2242) 2021-06-04 14:40:53 +10:00
release-drafter.yml Enable Release Drafter workflow 2021-01-29 17:33:38 -05:00
zbot.yml Create zbot.yml 2020-06-13 06:15:20 -04:00