releaser-pleaser/docs
Ferdinand Hofherr 0f42c753a8
feat: make forge configurable in GitHub Action
Forgejo actions are a near drop-in replacement for GitHub actions. This
commit changes the action.yml file to make the forge configurable. This
allows using the action with forgejo instances.

Changes made:

- Introduce a `forge` input and pass it as the value of the `--forge`
  flag.
- Introduce `api-url` input and pass it as the value of the `--api-url`
  flag. This is required to configure the API URL of the forge. If the
  action is used with GitHub Actions it is simply ignored.
- Pass `inputs.token` as value to the `--api-token` flag. This is
  required as the forgejo client does not respect the `GITHUB_ACTION`
  environment variable.
- Introduce `owner` input and pass it as the value of the `--owner`
  flag. As this was not passed before the default is set to `""`. In
  theory it could be set to the value of `github.repository_owner`.
- Introduce `user` input and pass it as the value of the `--user`
  flag. As this was not passed before the default is set to `""`. GitHub
  Actions does not seem to provide a convenient way to get the
  repository without the owner. As such keeping it at `""` for the
  default is safest.
2026-01-25 15:20:30 +01:00
..
explanation docs: describe concurrency and conflict considerations (#199) 2025-06-14 14:24:16 +00:00
guides fix: using code blocks within release-notes (#275) 2025-09-25 12:25:35 +02:00
reference feat: make forge configurable in GitHub Action 2026-01-25 15:20:30 +01:00
tutorials feat: run one job concurrently to reduce chance of conflicts (#198) 2025-06-14 13:43:35 +00:00
.gitignore docs: setup mdbook (#27) 2024-08-24 16:23:42 +02:00
book.toml docs: add link to github repo 2024-08-25 22:31:39 +02:00
changelog.md docs: setup mdbook (#27) 2024-08-24 16:23:42 +02:00
introduction.md docs: setup mdbook (#27) 2024-08-24 16:23:42 +02:00
SUMMARY.md refactor: let updaters define the files they want to run on (#233) 2025-08-23 22:14:34 +02:00