Commit Graph

40 Commits

Author SHA1 Message Date
Orhun Parmaksız f50e11560d chore: bump git-cliff to v2.13.1 (#78)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-04-26 13:23:30 +03:00
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
Benjamin Heimann 2032a55a2e docs(readme): add an example how to execute arbitrary git-cliff commands (#70)
* docs(readme): add an example how to execute arbitrary git-cliff commands

Add an example to the README that shows how to execute arbitrary git-cliff commands in GitHub Actions via https://github.com/taiki-e/install-action.

* Update README.md

---------

Co-authored-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>
2025-12-16 12:19:55 +03: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 3948e88ea7 feat(run): toggle trace logs with environment variable (#59)
Now you can enable trace logs via setting the `DEBUG` variable to a value.

It is also now disabled as default.

closes #60
2025-08-10 10:26:26 +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 47c2a7fedd docs(readme): add write permissions to changelog job 2024-09-20 21:56:06 +02:00
Orhun Parmaksız 39dc6a758b docs(readme): check out the branch before committing the changelog 2024-09-18 15:18:00 +02: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 9f34d775d3 docs(license): re-license under the MIT + Apache 2.0 2024-09-04 19:36:43 +03:00
Orhun Parmaksız 8720f565e1 docs(readme): update action input version 2024-08-26 22:23:19 +03:00
Orhun Parmaksız 7b3c32fcd9 docs(readme): remove credits due to the recent changes 2024-08-26 22:19:52 +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
Orhun Parmaksız 39636424cd docs(readme): reword the checkout note 2024-06-20 22:59:03 +03:00
Güney Saramali 16d19c9a34 docs(readme): add note about fetch-depth (#25)
* Update README.md

Updating README.md to explicitly mention that fetch-depth is a key argument to checkout repo, otherwise this action is almost unusable.

* Update README.md

Usage of git admonition syntax and some edits on documentation.
2024-06-20 22:58:37 +03:00
Clément Nussbaumer 9837bc50d0 docs(readme): add GITHUB_REPO env in examples (#19) 2024-04-09 16:52:34 +03:00
Orhun Parmaksız a5ff0c053b chore(docker): update git-cliff to 2.0.2 2024-02-19 18:55:50 +03:00
dependabot[bot] 1656405f98 chore(deps): bump actions/checkout from 3 to 4 (#14)
* chore(deps): bump actions/checkout from 3 to 4

Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* docs(readme): update the action versions in README.md

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>
2024-01-03 15:07:52 +01:00
Orhun Parmaksız 9f1ad1d8d0 docs(readme): add example about writing the changelog (#13) 2024-01-03 17:05:43 +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
Orhun Parmaksız b5f86d99d9 chore(action): bump checkout action to v3 2023-02-15 21:07:44 +03:00
Orhun Parmaksız cdaecb90e2 docs(readme): simplify the advanced example 2023-01-07 20:03:34 +03:00
Orhun Parmaksız ba98705de7 docs(readme): update license copyright years 2023-01-01 20:05:44 +03:00
Orhun Parmaksız aca5ee3a32 docs(readme): recommend the use of v2 instead of v1 2022-12-25 23:10:43 +03:00
Orhun Parmaksız 1e4ada982c docs(readme): update advanced example about set-output usage 2022-12-01 23:16:48 +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 f33ebb9c7f docs(readme): update examples 2021-07-02 01:19:16 +03:00
orhun b64b1116f5 docs(readme): link to the documentation of the base repository 2021-06-24 14:59:51 +03:00
orhun a42735c865 docs(readme): add the advanced example 2021-06-24 14:51:04 +03:00
orhun f5ccbd15b8 docs(readme): update the title in README.md 2021-06-19 23:00:29 +03:00
orhun 0b7b4de8f5 docs(readme): update the version in example 2021-06-19 22:01:19 +03:00
orhun 1c922ae044 docs(readme): add description for the example 2021-06-19 20:02:25 +03:00
orhun c5a5d63d3c docs(readme): update README.md about new action arguments 2021-06-18 19:05:43 +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