feat: add default token #44

Merged
earl-warren merged 4 commits from dorianim/forgejo-release:feat/add-default-token into main 2025-04-07 06:35:43 +00:00
Contributor

This PR adds ${{ secrets.GITHUB_TOKEN }} as the default value for the token and documents all default values in the readme.
Fixes #43

This PR adds `${{ secrets.GITHUB_TOKEN }}` as the default value for the token and documents all default values in the readme. Fixes #43
Chore: document default values
All checks were successful
/ integration (pull_request) Successful in 15m1s
e96cb854f9
README.md Outdated
@ -13,3 +13,1 @@
| `url` | <p>URL of the Forgejo instance</p> | `false` | `""` |
| `repo` | <p>owner/project relative to the URL</p> | `false` | `""` |
| `tag` | <p>Tag of the release</p> | `false` | `""` |
| `url` | <p>URL of the Forgejo instance</p> | `false` | `${{ env.GITHUB_SERVER_URL }}` |
Contributor

The defaults need to be documented in https://code.forgejo.org/actions/forgejo-release/src/branch/main/action.yml and the readme updated as instructed at the bottom of the readme.

The defaults need to be documented in https://code.forgejo.org/actions/forgejo-release/src/branch/main/action.yml and the readme updated as instructed at the [bottom of the readme](https://code.forgejo.org/actions/forgejo-release/src/branch/main/README.md#update-the-input-section-of-the-readme).
Author
Contributor

Good point. Fixed it :)
I just adhered to the existing scheme, but it's cleaner like that.

Good point. Fixed it :) I just adhered to the existing scheme, but it's cleaner like that.
earl-warren changed title from Feat: add default token to feat: add default token 2025-04-06 15:37:21 +00:00
Chore: set default in action.yml
Some checks failed
/ integration (pull_request) Failing after 10m22s
6979495e69
Chore: move all default values
All checks were successful
/ integration (pull_request) Successful in 15m4s
42c912aa0c
earl-warren deleted branch feat/add-default-token 2025-04-07 06:35:44 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
actions/forgejo-release!44
No description provided.