Commit graph

51 commits

Author SHA1 Message Date
Earl Warren 2b1b059591
fix(ci): test logic requires that tags start with a v 2025-07-26 07:05:42 +02:00
Earl Warren 428b5e175f
fix(ci): do not use the same tag for different workflows 2025-07-26 06:51:13 +02:00
Earl Warren efc7c9870c
fix(ci): move slash test to the end
otherwise it will have a side effect on the test that checks for the
latest release
2025-07-26 06:43:45 +02:00
Earl Warren a34fc370c5
fix(ci): no need to test for overrides twice 2025-07-26 06:33:04 +02:00
Earl Warren a15345a411
fix(ci): do not test tags with / with RNA
it does not make for a valid semver
2025-07-26 05:40:23 +02:00
Earl Warren 4c6f19bc61
fix(ci): s/FORGEJO_TOKEN/FORGEJO_TEST_TOKEN/ 2025-07-25 13:46:02 +02:00
Crown0815 47387821e5
fix: support slashes in tags (#62)
Resolves actions/forgejo-release#22

Co-authored-by: Felix Kröner <felix.kroener@bruker.com>
Reviewed-on: https://code.forgejo.org/actions/forgejo-release/pulls/62
Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
Co-authored-by: Crown0815 <crown0815@noreply.code.forgejo.org>
Co-committed-by: Crown0815 <crown0815@noreply.code.forgejo.org>
2025-07-25 06:50:17 +00:00
Renovate Bot a5a957d2ff
Update https://code.forgejo.org/actions/setup-forgejo action to v3.0.1 (#61)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [https://code.forgejo.org/actions/setup-forgejo](https://code.forgejo.org/actions/setup-forgejo) | action | patch | `v3.0.0` -> `v3.0.1` |

---

### Release Notes

<details>
<summary>actions/setup-forgejo (https://code.forgejo.org/actions/setup-forgejo)</summary>

### [`v3.0.1`](https://code.forgejo.org/actions/setup-forgejo/compare/v3.0.0...v3.0.1)

[Compare Source](https://code.forgejo.org/actions/setup-forgejo/compare/v3.0.0...v3.0.1)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - Between 12:00 AM and 03:59 AM ( * 0-3 * * * ) (UTC), Automerge - Between 12:00 AM and 03:59 AM ( * 0-3 * * * ) (UTC).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4yMy4yIiwidXBkYXRlZEluVmVyIjoiNDEuMjMuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->

Reviewed-on: https://code.forgejo.org/actions/forgejo-release/pulls/61
Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2025-07-08 06:25:03 +00:00
Earl Warren 382ebd2ba5
chore(upgrade): setup-forgejo@v3.0.0 has FORGEJO_TEST_TOKEN not FORGEJO_TOKEN (#60)
https://code.forgejo.org/actions/setup-forgejo/releases/tag/v3.0.0
Reviewed-on: https://code.forgejo.org/actions/forgejo-release/pulls/60
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
Co-authored-by: Earl Warren <contact@earl-warren.org>
Co-committed-by: Earl Warren <contact@earl-warren.org>
2025-07-07 08:46:23 +00:00
Renovate Bot bc728ddfbe
Update https://code.forgejo.org/actions/setup-forgejo action to v2.0.13 2025-07-07 00:06:01 +00:00
Renovate Bot 566207fd82
Update https://code.forgejo.org/actions/setup-forgejo action to v2.0.12 2025-07-02 00:04:04 +00:00
sheik 7359830877
feat: use tea binary from system if available (#53)
As a proposal solution to this issue: https://code.forgejo.org/actions/forgejo-release/issues/51

We use the system installed tea binary if available or download it as it was done before if not.
The location of the binary is stored in a new variable `$TEA_BIN` which replaces the need for the `$ BIN_DIR` location.

I tested it on Alpine and Debian.

Co-authored-by: Rayan Mestiri <rayan.mestiri@gmail.com>
Co-authored-by: Rayan MESTIRI <rayan.mestiri@NLGRSSL600K.ratpsmart.local>
Reviewed-on: https://code.forgejo.org/actions/forgejo-release/pulls/53
Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
Co-authored-by: sheik <sheik@noreply.code.forgejo.org>
Co-committed-by: sheik <sheik@noreply.code.forgejo.org>
2025-06-28 20:36:41 +00:00
Earl Warren d555422510
fix: private GPG key used in CI expired May 2025
Renew them.
2025-06-27 15:00:34 +02:00
earl-warren 23391e15ac
Merge pull request 'Update actions/checkout action to v4' (#47) from renovate/actions-checkout-4.x into main
Reviewed-on: https://code.forgejo.org/actions/forgejo-release/pulls/47
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
2025-05-05 10:19:08 +00:00
Renovate Bot f0a9704521
Update https://code.forgejo.org/actions/setup-forgejo action to v2.0.11 2025-04-13 08:31:13 +00:00
Renovate Bot 13b5920f54
Update actions/checkout action to v4 2025-04-13 08:31:08 +00:00
limiting-factor 1a6975277b fix: the tag cache must be deleted when the tag is deleted
Otherwise it will linger and potentially create problem when
using overrides.
2025-02-23 23:52:48 +01:00
limiting-factor 0079bcb471 fix: override=true must not needlessly delete a tag
If the tag to be set is exactly the same as the tag that exists, do
not delete it.

When the tag is recreated although it is not necessary, it may trigger
workflows that have already been triggered and send the workflow in a
loop.

- split `get_tag` & `matched_tag` out of ensure_tag
- in case of an override, only delete the tag if it fails `matched_tag`
- trace shell lines to help debug
- add testing
2025-02-23 21:22:31 +01:00
limiting-factor 9d4ddfbaad chore(editorconfig): comply with .editorconfig 2025-02-23 19:02:08 +01:00
Renovate Bot 410b453871
Replace actions/setup-forgejo action with actions/setup-forgejo v1.0.1 2024-12-10 00:02:00 +00:00
Crown0815 4d26949b75 Add support for files with spaces in their names (#24)
So far when uploading files containing spaces, such as `file 3.txt`, the `tea` command will be broken due to incorrectly formatted `tea` arguments.
I have been receiving `Remote repository required: Specify ID via --repo or execute from a local git repo.` which was not helpful until I turned on `verbose` and saw the whole command.

This fix should resolve this issue and thereby add active support for files with spaces.

Co-authored-by: Felix Kröner <felix.kroener@dynamic-biosensors.com>
Reviewed-on: https://code.forgejo.org/actions/forgejo-release/pulls/24
Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
Co-authored-by: Crown0815 <crown0815@noreply.code.forgejo.org>
Co-committed-by: Crown0815 <crown0815@noreply.code.forgejo.org>
2024-12-09 05:38:35 +00:00
natct 5069284121 feat: add an option to hide archive link 2024-12-03 09:48:47 +01:00
natct 0ac99a8b42 feat(ci): add test for rna 2024-11-18 15:32:02 +01:00
Paul van Tilburg 9c0ac967a9
Add test ensuring no breakage because of shell expansion 2024-08-17 11:24:08 +02:00
benniekiss a5aa633273 Support downloading the latest release of a repo (#16)
This PR adds the functionality to download the latest release from a repo. The API provides an endpoint to do so, so an option has been added to the action.

This closes #12

Co-authored-by: benniekiss <bgmt@mail.bbalm.me>
Reviewed-on: https://code.forgejo.org/actions/forgejo-release/pulls/16
Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
Co-authored-by: benniekiss <benniekiss@noreply.code.forgejo.org>
Co-committed-by: benniekiss <benniekiss@noreply.code.forgejo.org>
2024-07-08 18:49:13 +00:00
Earl Warren 809ad6c4e5
override an existing release by the same tag 2024-02-12 14:32:32 +01:00
Earl Warren 241b5920f4
use branch_tip instead of forgejo-test-helper.sh output 2024-01-03 22:32:27 +01:00
Earl Warren 837e49d432
show forgejo logs on failure() 2023-09-02 10:55:33 +02:00
Earl Warren 069735deb1
upgrade tests to 1.20 2023-09-02 10:55:32 +02:00
Earl Warren c6d7843bab
action: support for GPG signing 2023-05-26 15:05:07 +02:00
Earl Warren f886973249
GPG signing logic 2023-05-26 14:49:39 +02:00
Earl Warren 358b55efd4
wait for a release to no longer be draft before downloading 2023-05-24 01:32:23 +02:00
Earl Warren bb345b780c
LICENSE is MIT 2023-04-01 11:12:56 +02:00
Earl Warren b818607d61
no doer 2023-03-31 00:19:35 +02:00
Earl Warren a9b7d752f4
exclude tags 2023-03-30 23:50:46 +02:00
Earl Warren 28d6f1caa5
do not upload emacs backupfiles 2023-03-30 17:45:40 +02:00
Earl Warren 25027fcba8
set token from FORGEJO_TOKEN in the test environment 2023-03-30 17:16:24 +02:00
Earl Warren cb070c9a96
fallback to env.GITHUB_SERVER_URL if FORGEJO is not set 2023-03-30 17:16:24 +02:00
Earl Warren 3a07a6062f
non nested upload/download tests 2023-03-30 10:43:52 +02:00
Earl Warren df1717d07c
s/upload-download/nested-upload-download/ 2023-03-30 09:14:15 +02:00
Earl Warren ca02749d65
adapt shell tests 2023-03-30 09:14:15 +02:00
Earl Warren d12e05c347
use a different IP prefix in nested forgejo instances 2023-03-30 01:32:08 +02:00
Earl Warren c00160628d
add release notes 2023-03-30 00:05:14 +02:00
Earl Warren 429c93d710
specify the SHA when the repo running the action is unrelated 2023-03-29 23:45:19 +02:00
Earl Warren 21454480e1
use the test forgejo instance 2023-03-29 19:21:20 +02:00
Earl Warren ba4ac4e80d
test upload & download 2023-03-29 19:12:28 +02:00
Earl Warren 89b6ae4da6
display the runner logs as they go for debugging 2023-03-27 23:52:25 +02:00
Earl Warren c16405df52
display the runner logs on failure for debugging 2023-03-27 17:46:00 +02:00
Earl Warren d37076a4e9
recursive tests 2023-03-27 17:17:27 +02:00
Earl Warren 245db64a1e
adapt and test 2023-03-26 23:03:56 +02:00