Commit Graph

20 Commits

Author SHA1 Message Date
Orhun Parmaksız
adce4765f3 refactor(action): further simplify git safe directory workaround 2023-02-05 21:53:45 +03:00
Orhun Parmaksız
970cdaa65d fix(action): revert working directory permissions after generating changelog 2022-12-21 22:43:53 +03:00
Orhun Parmaksız
df3d46fac4 refactor(action): simplify git safe directory workaround 2022-12-20 00:05:16 +03:00
Matt Loberg
9b8dd77b6b feat(action): add an output for the changelog content (#4)
* feat: add an output for the changelog content

::set-output is
[deprecated](https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/)
in favor of [environment
files](https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#environment-files).
This has better multiline support, so add the contents of the changelog as an output for cases where
you are creating a GitHub release.

BREAKING CHANGE: self-hosted runners will need to be at 2.297.0 or greater

* fix: update multiline output usage

https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#multiline-strings

* docs(readme): add content as output

Co-authored-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>
2022-12-01 21:13:59 +01:00
Orhun Parmaksız
b95829e081 fix(action): use the correct working directory (#5) 2022-12-01 22:28:04 +03:00
Orhun Parmaksız
5352ef7a0a fix(git): improve git safe directory workaround 2022-11-20 15:58:06 +03:00
Orhun Parmaksız
4f2e0ab320 fix(git): apply a workaround for git safe directory 2022-11-19 22:48:36 +03:00
Orhun Parmaksız
a9fc6d3065 fix(git): disable safe directory checks 2022-11-19 22:31:11 +03:00
Matteo Ferrando
4d60dd0dbe fix(args): handle quotes in passed args (#3)
* add ' to test

* separate git cliff args before passing

* file expansion
2022-11-19 20:20:33 +01:00
Orhun Parmaksız
ec7be25db9 fix(env): use the correct environment variable for output 2022-05-02 20:57:05 +03:00
orhun
79d085ac4a chore(entrypoint): update argument passing 2021-06-19 22:55:24 +03:00
orhun
4b8f53d10e refactor(entrypoint): remove output redirection 2021-06-18 20:09:25 +03:00
orhun
3b33c9dab6 refactor(action): use OUTPUT environment variable as output path 2021-06-18 18:59:56 +03:00
orhun
bd34a55954 chore(action): use the output file as action output 2021-06-18 18:48:34 +03:00
orhun
920cd73efd fix(test): use an output directory 2021-06-18 02:29:16 +03:00
orhun
f6396b2020 fix(test): update output location 2021-06-18 02:09:00 +03:00
orhun
8d366d69d0 fix(test): move entrypoint script to root directory 2021-06-18 02:03:26 +03:00
orhun
f789518db8 fix(test): mark entrypoint script as executable 2021-06-18 02:00:53 +03:00
orhun
6772dc9095 fix(test): use sudo to create a output directory 2021-06-18 01:57:28 +03:00
orhun
29b917f0c8 chore(project): add action files 2021-06-18 00:27:35 +03:00