Gabriel Torcat
84ab5d5f60
feat(env): improve GitHub Token handling ( #77 )
...
* fix: stop `env.GITHUB_TOKEN` from overriding `github_token` input
Previously, `GITHUB_API_TOKEN` and `GITHUB_TOKEN` were resolved as
`env.GITHUB_TOKEN || inputs.github_token`, meaning the environment
variable took priority over the action input. On Forgejo/Gitea
runners, `GITHUB_TOKEN` is automatically set to a non-GitHub token,
which silently overrode any user-provided github_token input and
caused GitHub API calls to fail.
* Improve GitHub API token input handling
Updated GitHub API token handling to use fallback values.
* Clarify 'github_token' description in README
Reworded the description of the 'github_token' parameter for clarity.
* Fix formatting of GitHub token description in README
* Update README with GitHub API token precedence
Added note on GitHub API token precedence in README.
* Update README.md
---------
Co-authored-by: Maxim Slipenko <maxim@slipenko.com >
Co-authored-by: Orhun Parmaksız <orhunparmaksiz@gmail.com >
2026-04-25 00:36:42 +03:00
Orhun Parmaksız
c93ef52f3d
chore(version): update git-cliff to 2.12.0
2026-02-21 13:57:48 +00:00
Orhun Parmaksız
e16f179f0b
chore(version): update git-cliff to 2.11.0
2025-12-14 19:12:47 +03:00
Orhun Parmaksız
d77b37db2e
chore(version): update git-cliff to 2.10.1
2025-09-21 19:51:07 +03:00
Gabriel Torcat
82629b39d0
fix(run): pass gh token ( #61 )
...
* fix(run): pass gh token
Adds the github token as env var for the run.sh script
* fix(action): use GITHUB_TOKEN env if set
2025-09-01 19:25:36 +03:00
Orhun Parmaksız
e615672902
chore(version): update git-cliff to 2.10.0
2025-07-27 15:40:52 +03:00
Orhun Parmaksız
5948f44d10
chore(version): update git-cliff to 2.7.0
2024-11-22 08:20:57 +03:00
Orhun Parmaksız
14bb67385a
chore(version): update git-cliff to 2.6.1
2024-09-27 19:04:34 +03:00
Orhun Parmaksız
58e319c5e2
chore(version): update git-cliff to 2.6.0
2024-09-22 08:41:08 +02:00
Orhun Parmaksız
76ba43af94
fix(action): use environment variable for GitHub Action path ( #36 )
...
https://github.com/actions/runner/issues/2185
2024-09-18 00:00:43 +03:00
Ludovic Ortega
143d9d4b8e
feat(action): allow configuring the github token and set it when it exists ( #34 )
...
* fix: set Bearer token in curl request when GITHUB_TOKEN is set
Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr >
* fix: use a dedicated input variable to pass github token
Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr >
* fix: use github_token inputs
Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr >
* Update README.md
* Update README.md
---------
Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr >
Co-authored-by: Orhun Parmaksız <orhunparmaksiz@gmail.com >
2024-09-17 23:44:33 +03:00
Orhun Parmaksız
290a349311
chore(action): pin the git-cliff version to v2.5.0
2024-08-26 22:21:13 +03:00
Ludovic Ortega
44415ff1bf
feat: add version input variable ( #27 )
...
* feat: add version input variable
Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr >
* chore(docs): readme typo
Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr >
* fix: use bash script file instead of raw script
* fix: variable interpolation
* fix: GITHUB_TOKEN bash variable interpolation
* fix: output version description
* fix: VERSION variable interpolation
* fix: add back "lastest" in version description
* fix: add suggested changes
Co-authored-by: Orhun Parmaksız <orhunparmaksiz@gmail.com >
* refactor: polish implementation
* chore: bump version
---------
Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr >
Co-authored-by: Orhun Parmaksız <orhunparmaksiz@gmail.com >
2024-08-26 22:13:46 +03:00
Nicolas Hedger
b7913b6646
feat(action): add output for the latest version ( #12 )
...
* feat: output `version` of the latest release
* update readme
2023-11-12 23:16:39 +01: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
30c8d01aac
style(action): update the color
2021-06-24 15:17:37 +03:00
orhun
79d085ac4a
chore(entrypoint): update argument passing
2021-06-19 22:55:24 +03:00
orhun
2b1e4ab361
chore(action): remove input arguments
2021-06-19 22:45:35 +03:00
orhun
56c2b3168b
chore(action): set it an unique name
2021-06-19 20:45:59 +03:00
orhun
945bac35ba
chore(action): update name
2021-06-19 20:42:58 +03:00
orhun
3b33c9dab6
refactor(action): use OUTPUT environment variable as output path
2021-06-18 18:59:56 +03:00
orhun
a5d68c8aa9
fix(test): use the explicit format for docker arguments
2021-06-18 03:33:18 +03:00
orhun
2e06fddb29
fix(style): use input values as separate arguments
2021-06-18 03:30:30 +03:00
orhun
9cb26933c0
fix(style): update formatting
2021-06-18 03:25:07 +03:00
orhun
44b437a9c3
fix(test): update the formatting of docker argument
2021-06-18 03:24:00 +03:00
orhun
dd34d68fc8
fix(test): remove the quotes around image arguments
2021-06-18 03:16:54 +03:00
orhun
69984296f5
fix(test): update the use of positional arguments
2021-06-18 03:12:50 +03:00
orhun
9e859999aa
feat(input): use the config file from given path
2021-06-18 03:00:25 +03:00
orhun
29b917f0c8
chore(project): add action files
2021-06-18 00:27:35 +03:00