1
0
Fork 0
mirror of https://code.forgejo.org/actions/setup-forgejo synced 2024-09-16 16:36:17 +00:00
Commit graph

33 commits

Author SHA1 Message Date
Earl Warren 05385ad75e
do not override the DOT variable from forgejo-curl.sh 2023-12-20 22:24:48 +01:00
Earl Warren 0dee755317
ensure all files are created in a designated directory
for backward compatibility DIR defaults to $(pwd)

also create the additional convenience files:

* forgejocli
* forgejo-url
* forgejo-auth-url which includes the user and password
2023-12-17 22:24:51 +01:00
Earl Warren 40950130a5
automatically build from source if the version is @branch 2023-10-14 23:22:19 +02:00
Earl Warren 8744b5c5cf
error if trying to push a self action that has uncommitted changes
otherwise it will not push these changes and this is not what is
intended during development
2023-10-12 16:03:16 +02:00
Earl Warren 87d8b85700
cleanup the runner cache when uploading self action
if the cache is not cleared, the action that was just uploaded
with the latest changes won't be used, the cached version will.
2023-10-12 15:47:32 +02:00
Earl Warren fccbd1ce6b
example-push-cancel: test that pushing to a branch cancels workflows 2023-10-08 00:07:05 +02:00
Earl Warren 7b5b59d821
do not rely on a hacky way to obtain the sha of the branch 2023-10-07 23:39:35 +02:00
Earl Warren 7f23c0bd5f
upgrade go v1.21.1 2023-10-04 15:33:35 +02:00
Earl Warren 64e3b2e23e
show all statuses on failure 2023-09-30 00:30:02 +02:00
Earl Warren 356d879c4d
example: pull-request events 2023-09-27 22:34:59 +02:00
Earl Warren 7e8c8064af
add example of cron task 2023-09-24 22:04:19 +02:00
Earl Warren d25f704446
include forgejo-curl.sh 2023-09-24 18:16:04 +02:00
Gabriel Simmer ca54077433
Use Go 1.21, refactor Go setup function 2023-08-14 18:02:29 +01:00
Earl Warren 9cde43f8ff
download Go 1.20.5 not 1.20.4 2023-07-03 23:14:33 +02:00
Earl Warren 5a8583b781
show the full status when a test run fails 2023-06-24 10:28:04 +02:00
Earl Warren e5d2e4abe0
upgrade to go1.20.5 2023-06-24 10:27:51 +02:00
Earl Warren 3a6f1eb8f9
remove extra token argument from API 2023-06-14 22:00:42 +02:00
Earl Warren f3b926adca
remove lxc-helpers as a submodule 2023-05-21 22:58:27 +02:00
Earl Warren 178b7fa387
upgrade to go 1.20.4 2023-05-17 01:30:51 +02:00
Earl Warren 203f05100b
add lxc-helpers 2023-05-17 01:30:51 +02:00
Earl Warren 60af48d02b
install dependencies before anything else 2023-04-05 23:18:02 +02:00
Earl Warren 1862690dde
document how to use build_runner for a short debug loop 2023-04-05 16:54:05 +02:00
Earl Warren 05c2b60cc5
helper to compile from source 2023-04-05 16:45:41 +02:00
Earl Warren 9b17c14d9d
forgejo helper does not copy .git
it will create a new git repo from scratch
2023-04-03 09:07:46 +02:00
Earl Warren 22ff5f4704
add api function to the forgejo helper 2023-04-02 16:02:16 +02:00
Earl Warren 3d6675b7ba
no need to check the token unless there is an action 2023-04-02 15:30:29 +02:00
Earl Warren 8fbab2d77d
LICENSE is MIT 2023-04-01 11:08:06 +02:00
Earl Warren 42078f52f6
documentation and sanity check for tokens 2023-03-30 16:52:28 +02:00
Earl Warren b9dd7fd700
set FORGEJO_TOKEN in test workflows 2023-03-30 16:17:19 +02:00
Earl Warren 870dc58266
FORGEJO_URL because github.server_url is empty 2023-03-30 09:11:45 +02:00
Earl Warren 70be187923
echo the sha in the output 2023-03-29 23:34:55 +02:00
Earl Warren ed3687d21a
do not try to replace SELF if there are not workflows 2023-03-29 17:03:14 +02:00
Earl Warren 5e74823706
refactor and publish forgejo-test-helper.sh 2023-03-29 16:12:44 +02:00