Commit graph

179 commits

Author SHA1 Message Date
Siddhesh Naik
cd0cc83461 Fix github worklow for Android tests (#11014)
- The github workflow fails when running android tests.
- The workflow is trying to launch an x86 emulator on aarch-64 (macos-latest) host.
- The macos-latest system seem to be used originally as it supports
  hardware acceleration.
- This is no longer recomended, and ubuntu-latest host can handle the
  same and be faster than macos-latest.

Doc: https://github.com/marketplace/actions/android-emulator-runner#running-hardware-accelerated-emulators-on-linux-runners
2024-04-29 02:45:18 +05:30
Stypox
79652e7dcd Try to fix PR labeler
Reference: https://github.com/actions/labeler?tab=readme-ov-file#permissions
2024-03-28 12:03:10 +01:00
TobiGr
e13abf6326 [CI] Update sonar job to use cache@v4
Updates deprecated Node 16 to 20
2024-03-26 22:48:47 +01:00
TobiGr
a6d6036c3d [CI] Update gradle/wrapper-validation-action to v2
Updates deprecated Node 16 to 20
2024-03-26 22:32:29 +01:00
Mohammed Anas
deee229d6c Don't add "question" label to question discussions (#10906)
They already have a "Questions" category of their own anyway.
2024-03-26 20:28:28 +00:00
Mohammed Anas
8401ae2841 Fix GitHub question discussion form
The name and description fields are both invalid here.
2024-03-26 19:53:45 +00:00
Zongle Wang
b5a683b00d Bump GH actions
Old ones are deprecated.
2024-01-08 11:55:57 +08:00
Tobi
68765c719f Use PR labeler fork
This updates some libs
2023-10-02 02:15:25 +02:00
Tobi
56f90454b6 Fix PR labeler permissions
Although the permission to modify PRs is granted to the entire workflow, the job still reports that it does not the permission to do so:
GITHUB_TOKEN Permissions
  Contents: read
  Metadata: read
  PullRequests: read
This adds the permission to the job directly
2023-09-27 10:06:34 +02:00
Tobi
55d13e30fa Add content: read permission to PR size labeler workflow 2023-09-26 10:40:17 +02:00
Tobi
5d4b1a4751 Add write permission to PR labeler workflow 2023-09-24 20:24:57 +02:00
TobiGr
174ca46733 Add workflow "PR size labeler" to label PRs based on the number of changed lines
This should help reviewers to determine which PRs to review.
2023-09-24 09:33:44 +02:00
TobiGr
2495ceccb5 Image minizier: replace Number.toFixed(0) with Math.floor()
Number.toFixed returns a string, Math.floor a number
2023-08-24 11:53:35 +02:00
opusforlife2
4849a2a586 Make latest release link more obvious to bug reporters 2023-08-12 15:08:03 +00:00
TobiGr
ffe87a5b6c Minimize images in PR descriptions 2023-07-15 02:33:53 +02:00
Tobi
4138939da5 Add link to wiki page for APK download 2023-07-08 22:49:10 +02:00
TobiGr
353a911693 Add support for new GitHub assetes URLs in image minimizer workflow 2023-06-15 16:03:30 +02:00
Stypox
08e14958aa Proper filename for questions discussion template 2023-05-26 11:52:26 +02:00
Stypox
a8fb423ffb Move questions to Discussions 2023-05-26 11:05:32 +02:00
Stypox
1df8a59aa4 Fix CI command injection vulnerability
See https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions
2023-04-26 16:01:20 +02:00
Stypox
edd6071eec Update CI Java version 2023-04-20 15:42:33 +02:00
Stypox
a810fcbb4c Add notice to README to not open feature PRs 2023-04-04 10:54:00 +02:00
TacoTheDank
fe50f605fa Update Sonarqube to 3.5 2022-11-29 11:20:31 -05:00
yashpalgoyal1304
3e98bfe6de Minimize not-so-long images too 2022-11-27 03:22:37 +05:30
yashpalgoyal1304
e8b6b09314 Resolve scoping issue to get values of probeResult 2022-11-27 02:06:01 +05:30
yashpalgoyal1304
7746188a80 Fix value of width 2022-11-27 01:56:53 +05:30
yashpalgoyal1304
67e56a9f6a Set image-minimizer to specify image width ...
Fix https://github.com/TeamNewPipe/NewPipe/issues/9469
for portrait like orientations
2022-11-26 23:29:11 +05:30
Tobi
85866f4e79 Add info on date + time localization to contribution guidelines (#9229)
Dates and times are localized using PrettyTime. Added a note to guide translators to also localize that library to create a fully localized experience.

Co-authored-by: opusforlife2 <53176348+opusforlife2@users.noreply.github.com>
2022-10-28 17:35:56 +02:00
opusforlife2
0d97aab374 Update label to 'feature request' 2022-10-14 19:40:04 +02:00
litetex
7d736c26fa Merge pull request #8755 from mhmdanas/remove-whitespace
Remove extra whitespace from issue and PR templates
2022-08-25 16:26:31 +02:00
opusforlife2
37618f6183 Add FAQ entry to the template checklists (#8822)
Co-authored-by: Mohammed Anas <triallax@tutanota.com>
2022-08-21 20:39:57 +03:00
mhmdanas
2a3e70300a Remove extra whitespace from issue and PR templates 2022-08-11 19:34:23 +03:00
Mohammed Anas
55e4d1563f Add "needs triage" label to issue templates (#8643)
This label would make it easier for issue triagers to know what they
haven't triaged yet.
2022-07-26 23:29:43 +03:00
Mohammed Anas
b0c8fee20f Rename "waiting-for-author" label to "waiting for author" (#8642) 2022-07-17 20:37:15 +03:00
mhmdanas
1e02e81df8 Use minimum required permissions for GitHub workflows
This reduces the attack surface if the workflows are ever compromised.
2022-07-03 20:38:51 +03:00
Stypox
9e3d7e4fe4 Run CI on all release branches (#8565)
We don't seem to agree on which character to use as a separator between `release` and `X.X.X` in release branch names (e.g. `release-0.23.1` or `release/0.23.0`). All those names start with `release`, though, so let's use that to identify releases.
2022-07-02 00:08:44 +03:00
litetex
d4b16a8eaf Also run CI when target is release branch 2022-04-18 14:28:56 +02:00
TacoTheDank
5a2f85ad71 Update action dependencies in workflows 2022-04-14 15:43:56 -04:00
Trust_04zh
e279550b57 update to current checkstyle.xml path 2022-04-11 19:59:14 +08:00
litetex
98b81b94e2 Fixed typo
It was late when I typed this 😆
2022-02-16 20:31:15 +01:00
litetex
a339fd3737 Improved image-minimizer
* Don't minimize images that are too wide -> they will get stretched otherwise
* Don't try to modify the issue/comment when nothing changed
* Fixed typo
2022-02-15 20:09:21 +01:00
litetex
2294105cb0 Switch to GitHub issue forms (#7773)
* Switched to GitHub issue forms

See also
* https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository#creating-issue-forms
* https://github.blog/changelog/2021-06-23-issues-forms-beta-for-public-repositories/

* Switched expected and actual behavior

* Improved/Reworked issue template

Credits to @TheAssassin

* CI: Ignore changes to issue-templates

* Improved/Reworked issue template

Credits to @opusforlife2 and @mhmdanas

* Further improved the issue templates

* Next round of review

Co-authored-by: opusforlife2 <53176348+opusforlife2@users.noreply.github.com>
2022-02-12 19:34:08 +00:00
litetex
ad3c9795f9 Added image-minimizer (#7772)
Co-authored-by: Mohammed Anas <triallax@tutanota.com>
2022-02-11 19:54:12 +00:00
litetex
5b622f0171 Merge pull request #7803 from mhmdanas/paths-ignore-doc-dir
Add some stuff to `paths-ignore`
2022-02-09 19:57:47 +01:00
Poussinou
1f91c9fdc2 Update FUNDING.yml (#7682)
Co-authored-by: Mohammed Anas <triallax@tutanota.com>
2022-02-04 10:36:00 +00:00
Mohammed Anas
1ecd9584fe Add FUNDING.yml to paths-ignore 2022-02-04 10:32:33 +00:00
Mohammed Anas
51a8375f53 Add files in doc to paths-ignore 2022-02-04 10:13:10 +00:00
litetex
185b8d77e3 Moved timeout control from the tests to the CI pipeline
How fast a tests is executed on a shared CI pipeline is not predictable as the build might be throttled because other builds are running.
Therefore adding extremely short timeouts inside the tests - where they can't be changed - is a bad idea.
Removed them for now.
2022-01-21 22:15:34 +01:00
litetex
5d2bf7e182 CI: Upload test-report when an error occurs 2022-01-09 18:09:47 +01:00
XiangRongLin
5aa149fc1a Log test-android CI job in stacktrace mode 2021-12-22 09:55:16 +01:00