1
0
Commit Graph

60 Commits

Author SHA1 Message Date
Ö. Efe D.
67f4d4ac62 Add upstream sync workflow (Gitea) 2025-12-24 02:49:33 +01:00
ورد
edbbc8643f Merge branch 'main' into add-last-updated 2025-08-29 16:43:27 +03:00
ورد
f81728294f chore: delete meaningless check-mod step
ive been always puzzled by what kind of environment is the schema check deploying or why is the deployments api being invoked instead of `check-mods` being a pure check but never actually bothered to read the action
2025-07-10 09:25:31 +03:00
Gabriel Freitas
cdfc5ea431 Revert repository url check for CI 2025-07-07 12:28:32 -03:00
Gabriel Freitas
412c6df3d0 Remove support for release tag page url.
Only asset url is now accepted for fixed-release-tag-updates
2025-07-07 12:06:11 -03:00
Gabriel Freitas
025cd27180 Revert erroneous fix on version checking 2025-07-07 11:42:47 -03:00
Gabriel Freitas
2297413551 Fix update_mod_versions.py to handle asset names correctly and improve version change check logic for better clarity 2025-07-07 11:31:35 -03:00
Gabriel Freitas
fa76b2a899 Enhance update_mod_versions.py with detailed print statements for checking release tags and assets during processing 2025-07-07 11:18:51 -03:00
Gabriel Freitas
7c43f8b82e Modify CI temporarilly to allow testing on fork 2025-07-07 11:06:49 -03:00
Gabriel Freitas
5ffd57492e Update 'json-schema-validate-action' to 1.4.0 to support custom error messages 2025-07-07 11:01:13 -03:00
Gabriel Freitas
58f28a6f62 Update check for specific release to use boolean fixed-release-tag-updates instead of url check 2025-06-22 19:21:53 -03:00
Gabriel Freitas
c85e3a1446 Rename RELEASE_TAG to LATEST_TAG on update_mod_versions.py 2025-06-22 18:58:59 -03:00
Gabriel Freitas
43cd8fe0d5 Fix typo again 2025-06-18 14:44:29 -03:00
Gabriel Freitas
d390413ec0 Fix typo 2025-06-18 13:29:42 -03:00
Gabriel Freitas
2777af675b feat: add support for multiple immutable release tag URLs in a repo
Adds detection and version tracking for URLs like:
- releases/download/{tag}/{asset}
- releases/tag/{tag}

This enables monorepo workflows where multiple mods share a repository
but use immutable tags (e.g., mod-name__latest) instead of the automatic
releases/latest endpoint.

Uses asset creation timestamps to generate sequential versions in
YYYYMMDD_HHMMSS format, ensuring each mod gets independent version
tracking rather than sharing the repository's latest release version.

Maintains full backward compatibility with existing URL patterns.
2025-06-18 13:02:41 -03:00
kasimeka
a85d719ab2 chore(update_mod_versions.py): update locked dependencies 2025-05-27 13:24:14 +03:00
kasimeka
4d9b9e6ace feat(update_mod_versions.py): add support for last-updated field 2025-05-27 13:23:54 +03:00
ورد
83a1571650 fix(ci): switch to python3.12 for sensible f-strings
https://peps.python.org/pep-0701/ :)
2025-04-21 09:24:18 +02:00
janw4ld
a66eb063a2 feat: add auto-update support for tags with no release assets 2025-04-20 18:53:40 +02:00
janw4ld
5838831e49 nit(ci): lock python script dependencies 2025-04-20 18:44:06 +02:00
Breezebuilder
12a7054432 Fix meta.json validator failing when multiple mods changed
- Simplify creation of META_JSON_FILES list
- Provide multi-line `META_JSON_FILES` to `$GITHUB_OUTPUT` using [recommended syntax](https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions#multiline-strings)
2025-04-09 16:04:16 +10:00
Breezebuilder
ab58eeab36 Set task conditions to use always() to sidestep baffling GitHub design choices 2025-03-27 14:05:44 +11:00
Breezebuilder
08c6c6365a Disable continue-on-error for all tasks as failed jobs are confusingly marked as successful by GitHub 2025-03-27 14:03:58 +11:00
Breezebuilder
3492447e90 Enable continue-on-error for thumbnail dimension check 2025-03-27 13:53:20 +11:00
Breezebuilder
49edd9f34e Set and use fixed ImageMagick version 8:6.9.12.98 2025-03-27 13:39:59 +11:00
Breezebuilder
ee58011ee5 Debug cache installation failing 2025-03-27 13:25:40 +11:00
Breezebuilder
1e3ece042c Enable continue-on-error for JSON validation features to allow multiple problems to be reported with a single run 2025-03-27 12:57:36 +11:00
Breezebuilder
5f0094b92a Remove debug print statements 2025-03-27 12:42:51 +11:00
Breezebuilder
8f20655524 Cache ImageMagick with awalsh128/cache-apt-pkgs-action 2025-03-27 12:42:34 +11:00
Breezebuilder
204ea23843 Cache and use cached ImageMagick 2025-03-27 12:07:57 +11:00
Breezebuilder
f1cc80b458 Use standard GITHUB_TOKEN secret for auth 2025-03-27 12:07:34 +11:00
Efe
a87ed433a6 try to fix check-mod.yml 2025-03-26 08:11:01 +01:00
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