Commit Graph

14 Commits

Author SHA1 Message Date
Arun a9fca7c3d3
Use GITHUB_OUTPUT envvar instead of set-output command as the latter is deprecated 2023-12-28 13:19:41 -08:00
Aire-One 4a140ea5ea
Revert "fix(ldoc): set `format` to "markdown" (#3500)" (#3704)
This reverts commit 8d5c74fae3.
2022-09-22 22:53:53 -07:00
Emmanuel Lepage Vallée 4f086e58fc
Merge pull request #3701 from sashashura/patch-1
GitHub Workflows security hardening
2022-09-22 22:53:36 -07:00
Alex 76edd69587
Update apidoc.yml
Remove write permission as not needed
2022-09-20 20:13:12 +01:00
Alex 00b1ad5b45 build: harden apidoc.yml permissions
Signed-off-by: Alex <aleksandrosansan@gmail.com>
2022-09-20 14:24:00 +02:00
Aire-One 8d5c74fae3 fix(ldoc): set `format` to "markdown" (#3500)
The CI currently doesn't install (correctly?) the "discount" formatter,
so ldoc fallbacks to the default "markdown" formatter. However, if we
try to install the discount or lua-discount, the doc rendering is
slightly different from what we currently have.

All of this was already mentioned in the issue "Generate apidoc doesn't
use the discount markdown formatter #3500".

This change removes the configuration in the `config.ld` file, so we
don't have the "format: using built-in markdown" message any longer in
in the CI logs.

Note that I also removed the lua-discount installation from the
`apidoc.yml` workflow, since it wasn't working. (I guess it installs the lua
package for a different version of lua than the one used by ldoc)
2022-09-18 18:40:52 +02:00
Lucas Schwiderski d755d9add3 ci: Fix the debug messages. 2021-10-04 18:19:52 -07:00
Emmanuel Lepage Vallee 30eb441f3a ci: Change the API doc token name.
@blueyed added the old token used by Travis and it is called
"AWESOME_ROBOT_TOKEN"
2021-10-04 10:27:55 -07:00
Lucas Schwiderski 4d83228f00
bug(github_actions): Fix date for apidoc examples.
Signed-off-by: Lucas Schwiderski <lucas@lschwiderski.de>
2021-05-08 22:10:05 +02:00
Lucas Schwiderski 6a3713a090
feat(github_actions): Install lua-discount
Signed-off-by: Lucas Schwiderski <lucas@lschwiderski.de>
2021-05-06 20:05:05 +02:00
Lucas Schwiderski 645156b3c0
feat(github_actions): Consolidate apt cache directory
Signed-off-by: Lucas Schwiderski <lucas@lschwiderski.de>
2021-05-06 20:04:59 +02:00
Lucas Schwiderski 9bc8c28c90
chore(github_actions): Clean up variables and expressions
Signed-off-by: Lucas Schwiderski <lucas@lschwiderski.de>
2021-05-06 20:04:58 +02:00
Lucas Schwiderski 87b717495f
fix(github_actions): Add modelines
Signed-off-by: Lucas Schwiderski <lucas@lschwiderski.de>
2021-05-06 20:04:56 +02:00
Lucas Schwiderski f74a838506
feat(github_actions): Add workflow to update API docs
Signed-off-by: Lucas Schwiderski <lucas@lschwiderski.de>
2021-05-06 20:04:55 +02:00