92 Commits
Author SHA1 Message Date
Asher Buk 32503cd392 ci: trigger publisher by workflow file path (.github/workflows/test.yml) for robustness (#3577) 2025-11-30 22:19:54 +01:00
Asher Buk 38a3ea6b55 replace Imgur with GitHub Release Assets for screenshot hosting (#3573)
* replace Imgur with GitHub Release Assets for screenshot hosting

Fixes #3548

## Problem
Imgur API returns "Too Many Requests" errors (code 1025), blocking
successfully tested applications from being merged.

## Solution
Replace Imgur with GitHub Release Assets:
- Screenshots are uploaded to a draft release named 'ci-screenshots'
- Inline images displayed in PR comments
- Works for PRs from external contributors using workflow_run trigger

* sanitize filenames for artifact upload

- Add step to sanitize screenshot filenames before upload
- Remove invalid characters (: * ? < > |) from app names
- Fixes error with apps like 'fre:ac' containing colons
- Update publish workflow to handle flat file structure

* ci: fix artifact path and publish release; guard workflow to upstream repo
2025-11-18 18:43:08 +01:00
probonopd e6756d1b04 runs-on: ubuntu-22.04 2025-04-16 08:57:08 +02:00
Sebastian Stenzel a41e2b165b Update awalsh128/cache-apt-pkgs-action to 1.4.3 (#3442)
Because older versions rely on `actions/upload-artifact@v3`, which has long been deprecated and is no defunct since February 2025
2025-02-04 08:31:20 +01:00
probonopd f0d4c3fb8b Disable Post Screenshot [ci skip] 2023-09-13 20:38:33 +02:00
Jack Greiner ab9ab288be Cache APT Packages (#3255)
This saves ~2 mins from the "Install dependencies" step when testing new AppImages.
2023-09-11 23:10:00 +02:00
probonopd 2fcd82365f Check logs only on PRs opened by me
Because other PRs lack the needed permissions
[ci skip]
2023-08-27 14:06:46 +02:00
probonopd bca9af837b Check log only on PRs 2023-08-27 14:03:07 +02:00
probonopd dfd60046f9 Use imgur
[ci skip]
2023-08-27 13:31:04 +02:00
probonopd fe06661fc4 Allow for https://transfersh.com [ci skip]
https://github.com/AppImage/appimage.github.io/issues/2421
2023-08-27 13:17:26 +02:00
probonopd 670f74de3e Revert FILES, it found wrong files in PRs 2023-07-15 14:21:17 +02:00
probonopd 52b3447d66 Remove auto-cancel step; does not work 2023-07-15 14:02:16 +02:00
probonopd 53f6c76573 FILES=$(git log -1 --format= --name-only --diff-filter=d -- data/ | head -1) 2023-07-15 14:00:42 +02:00
probonopd eaf2dc5ff2 Use COMMIT_MSG 2023-07-15 13:47:21 +02:00
probonopd ea6ab95eba Try to properly auto-cancel builds triggered by branch updates 2023-07-15 13:43:09 +02:00
probonopd 4e7969814f Use ${PIPESTATUS[0]} to catch the error code of worker.sh 2023-07-15 13:35:06 +02:00
probonopd a2ec519570 echo "$COMMIT_MSG" 2023-07-15 13:26:45 +02:00
probonopd 138cd5e06e Other way to get commit msg; try to fix log url 2023-07-15 13:24:51 +02:00
probonopd 9afb8f6d72 Try to fix build log URL 2023-07-15 13:16:01 +02:00
probonopd 7bbdbf4db0 github.event.pull_request.head.commit.message 2023-07-15 13:11:36 +02:00
probonopd c394b94019 Auto-cancel builds triggered by branch updates, try to fix URL 2023-07-15 13:06:46 +02:00
probonopd d81836dcba Fix URL 2023-07-15 12:56:27 +02:00
probonopd 11fabec1d4 Do not run on synchronize, only run when data/ was changed 2023-07-15 12:47:05 +02:00
probonopd 010fb09d7d Do not post when cancelled; post deeplink to log
[ci skip]
2023-07-15 12:39:47 +02:00
probonopd f84a77c522 Always run "Post Screenshot URL" and link to log 2023-07-15 12:36:02 +02:00
probonopd 3ba8f03eea Explicitly check exit codes
[ci skip]
2023-07-15 12:25:15 +02:00
probonopd 1799ca625f core.setFailed("Unable to post screenshot")
[ci skip]
2023-07-15 12:18:57 +02:00
probonopd 03b07d9619 Post Screenshot URL only on pull requests
[ci skip]
2023-07-08 18:34:03 +02:00
probonopd c1fac05421 Clarify message
[ci skip]
2023-06-25 11:33:29 +02:00
probonopd 9281109db7 Also post if no screenshot was made 2023-06-18 14:17:41 +02:00
probonopd 6a4ca9c6b6 Improve message
[ci skip]
2023-06-18 14:06:30 +02:00
probonopd de0c4a2f25 uses: actions/github-script@v4 2023-06-18 13:45:38 +02:00
probonopd 09191b5ae9 uses: actions/github-script@5 2023-06-18 13:42:48 +02:00
probonopd b91e616a30 Update test.yml 2023-06-18 13:38:58 +02:00
probonopd 717cb72889 if: env.SCREENSHOT_URL != '' 2023-06-18 12:59:56 +02:00
probonopd d2ce7f16e0 Post Screenshot URL 2023-06-18 12:34:29 +02:00
probonopd 7c5e43f910 Try to post test result to PR 2023-06-18 12:29:59 +02:00
probonopd 4331ad843c Revert change
Found wrong files in PRs
2023-06-18 12:17:54 +02:00
probonopd 6b51bb2d65 Limit to last commit
Previous solution found wrong file
2023-06-18 12:05:15 +02:00
probonopd bd3935f04b Determine FILES= in another way
Try to fix https://github.com/AppImage/appimage.github.io/issues/3167
2023-06-18 11:57:21 +02:00
probonopd 30347a0df8 timeout-minutes: 10 2023-04-22 01:02:09 +02:00
probonopd c7b8997059 timeout-minutes: 8 2023-04-15 13:00:52 +02:00
probonopd 0bb3728bf3 runs-on: ubuntu-20.04 2023-04-15 12:39:52 +02:00
probonopd 6db5537489 uses: actions/checkout@v3
https://github.com/AppImage/appimage.github.io/pull/2994#issuecomment-1250110787
[ci skip]
2022-09-17 20:02:44 +02:00
probonopd e34dd424e0 Extend paths-ignore 2022-09-17 20:00:17 +02:00
probonopd a72531f55f Do not fail when running on master 2022-08-29 19:16:43 +02:00
probonopd 171e8fc0f1 Do not try to automatically comment for now 2022-06-05 16:26:15 +02:00
probonopd e8069bd5b6 Update test.yml 2022-06-05 15:36:08 +02:00
probonopd 597b270675 MULTILINE_VALUE 2022-06-05 15:32:16 +02:00
probonopd 7a7617d5a4 Using "'" for body 2022-06-05 15:20:30 +02:00