1
0
Commit Graph

78 Commits

Author SHA1 Message Date
Efe
66563020ca update check-mod.yml 2025-03-26 08:04:41 +01:00
Ö. Efe D.
398559b17b Update mod validation
Use PAT token.
2025-03-26 00:34:41 +01:00
Breezebuilder
6963ab9415 Disable update-mod-versions job on forks 2025-03-13 00:14:35 +11:00
Ö. Efe D.
757e96b087 Fix previous error 2025-03-11 16:01:00 +01:00
Ö. Efe D.
b3ac571e5e Enable pip caching 2025-03-11 15:59:19 +01:00
Ö. Efe D.
114829e00b Add fi 2025-03-11 15:37:05 +01:00
Ö. Efe D.
9296980a33 add github token env variable 2025-03-11 15:33:45 +01:00
Ö. Efe D.
24301689d6 Fix workflow file 2025-03-11 15:23:58 +01:00
Ö. Efe D.
14afeab1e8 Explicitly define github token env variable 2025-03-11 15:17:15 +01:00
Breezebuilder
3521106098 Improvements to mod version checking and GitHub API rate limit checking
- Check if download url links to latest head, and if so, use version of latest commit hash instead of release version
- Merge `get_latest_release` and `get_latest_commit` into `get_version_string` for less duplicate code
- Check and print GitHub API rate limit details including api resource, remaining calls, and reset time
- On exceeding rate limit or 403 error, check if primary or secondary rate limit has been reached
    - On primary rate limit breach, wait until hourly rate reset time
    - On secondary rate limit breach, wait for `retry-after` response time or an exponential time, starting at 60 seconds and doubling for each attempt, following GitHub API docs
- Prevent program waiting for more than 30 minutes for API rate reset time
2025-03-11 23:51:46 +11:00
Breezebuilder
d574e1e072 Fix mod version updater failing for mods with repos ending with characters 'g', 'i', or 't'
`rstrip` removes any matched characters from the end of the string until an unmatched character is found
2025-03-11 13:34:02 +11:00
Ö. Efe D.
6fb2306c05 Use PAT instead 2025-03-09 21:01:44 +01:00
Ö. Efe D.
e5630b39ae Update workflow 2025-03-09 20:43:38 +01:00
Ö. Efe D.
810bce7650 Enable schedule 2025-03-09 19:49:19 +01:00
Ö. Efe D.
dfb7961648 Remove schedule for testing 2025-03-09 19:43:10 +01:00
Ö. Efe D.
a3420f5d31 Make script executable 2025-03-09 19:39:53 +01:00
Ö. Efe D.
f532231f52 Add automatic version updating feature 2025-03-09 19:36:28 +01:00
Ö. Efe D.
58161a1739 Update action 2025-03-08 19:22:57 +01:00
Ö. Efe D.
6937c09833 fix URLs 2025-01-16 18:25:19 +01:00
Ö. Efe D.
c2712b108a technical change 2025-01-02 03:27:52 +01:00
Ö. Efe D.
51957c1507 for environment 2025-01-01 21:47:16 +01:00
Ö. Efe D.
b9f0b08f01 png -> jpg 2025-01-01 20:18:35 +01:00
Ö. Efe D.
52fac792da move schema for github actions 2025-01-01 18:37:34 +01:00
Ö. Efe D.
1ff481bd90 trying fix again 2025-01-01 18:30:33 +01:00
Ö. Efe D.
979816e30c fix again 2025-01-01 18:19:52 +01:00
Ö. Efe D.
b8784c16ea fix 2025-01-01 18:15:14 +01:00
Ö. Efe D.
0d6d68fd6c image checking 2025-01-01 18:00:10 +01:00
Ö. Efe D.
ced1a3e0a0 initial 2025-01-01 17:46:37 +01:00