Commit Graph

3 Commits

Author SHA1 Message Date
David Ordás
44dd203d6c
security: set-output cmd deprecated. Use $GITHUB_OUTPUT env file ()
* security: `set-output` cmd deprecated. Use `$GITHUB_OUTPUT` env file

To avoid untrusted logged data to use `save-state` and `set-output` workflow commands without the intention of the workflow author we have introduced a new set of environment files to manage state and output.

Starting 1st June 2023 workflows using `save-state` or `set-output` commands via stdout will fail with an error.

https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

* chore: apply fix found at 

* test: fixing report escapes

* test: fixing report escapes

* test: fixing report escapes

* test: fixing report escapes

* test: fixing report escapes
2023-02-23 10:06:07 -05:00
David Ordás
222b3db615
fix: crash on empty changed files ()
If a PR hasn't any changed file, the GitHub report fails with an exception

Simulated evidence: https://github.com/davorpa/free-programming-books/actions/runs/3007631429
Fixed: https://github.com/davorpa/free-programming-books/actions/runs/3007755638
2022-09-21 13:05:05 -04:00
David Ordás
57cc3173da
ci(check-urls): fix push crash on new branch creation + render awesome_bot report ()
* format: expand events

* format: add blank lines between steps of check job

* format: to run steps using multiline format

* feat: group for each output

* fix: solve crash on first push (trilom 2 tj action)

* chore: upload ab-results as `awesomebot-results.zip` artifact

* feat: changed files as workflow output

* feat: Generate GitHub Summary using `ab-results-*.json`s

* security: limit access rights with `contents: read`

Seen at PR 
Cherry picked from 50300ca119

Co-authored-by: Alex <93376818+sashashura@users.noreply.github.com>

* chore: setup concurrency policy

* chore: modularize using composite actions

Co-authored-by: Alex <93376818+sashashura@users.noreply.github.com>
2022-08-31 11:53:22 -04:00