Zebra/.github/workflows
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
..
cd.yml refactor (actions): make better use of variables, secrets and versions (#3393) 2022-01-26 21:46:18 -04:00
ci.patch.yml fix (actions): add duplicated workflows with path-ignore (#3405) 2022-01-26 03:19:43 +00:00
ci.yml refactor (actions): make better use of variables, secrets and versions (#3393) 2022-01-26 21:46:18 -04:00
coverage.patch.yml fix (actions): add duplicated workflows with path-ignore (#3405) 2022-01-26 03:19:43 +00:00
coverage.yml refactor (actions): make better use of variables, secrets and versions (#3393) 2022-01-26 21:46:18 -04:00
docs.patch.yml fix (actions): add duplicated workflows with path-ignore (#3405) 2022-01-26 03:19:43 +00:00
docs.yml Improve GitHub Actions checks based on files & folders (#3377) 2022-01-25 07:58:11 -04:00
lint.patch.yml fix (actions): add duplicated workflows with path-ignore (#3405) 2022-01-26 03:19:43 +00:00
lint.yml Improve GitHub Actions checks based on files & folders (#3377) 2022-01-25 07:58:11 -04:00
manual-deploy.yml refactor (actions): make better use of variables, secrets and versions (#3393) 2022-01-26 21:46:18 -04:00
regenerate-stateful-test-disks.yml refactor (actions): make better use of variables, secrets and versions (#3393) 2022-01-26 21:46:18 -04:00
release-drafter.yml Specify v5, not 'latest' 2021-01-29 17:38:46 -05:00
test.patch.yml fix (actions): add duplicated workflows with path-ignore (#3405) 2022-01-26 03:19:43 +00:00
test.yml refactor (actions): make better use of variables, secrets and versions (#3393) 2022-01-26 21:46:18 -04:00
zcashd-manual-deploy.yml refactor (actions): make better use of variables, secrets and versions (#3393) 2022-01-26 21:46:18 -04:00