Commit graph

201 commits

Author SHA1 Message Date
Aayush Gupta
679f36abaa libs: Bump minSdk to API 23
androidx framework has bumped minSdk requirement to API 23. Most libs dependening
upon the framework as a result require us to bump API level or keep using outdated versions.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2026-04-16 16:38:19 +08:00
Tobi
d136c47a0d Merge pull request #13141 from salmanmkc/upgrade-github-actions-node24-general
Upgrade GitHub Actions to latest versions
2026-01-30 02:31:40 -08:00
Salman Muin Kayser Chishti
3f2aaf83d7 Upgrade GitHub Actions to latest versions
Signed-off-by: Salman Muin Kayser Chishti <13schishti@gmail.com>
2026-01-30 09:16:42 +00:00
Salman Muin Kayser Chishti
ff357d0e2e Upgrade GitHub Actions for Node 24 compatibility
Signed-off-by: Salman Muin Kayser Chishti <13schishti@gmail.com>
2026-01-30 09:16:36 +00:00
RinCodeForge927
35aaf8cb69 ci: fix shell injection in backport workflow 2026-01-13 20:42:10 +07:00
Tobi
4917e9b24b Add workflow to backport PRs to another branch (#12964)
The workflow can be triggered by creating a comment on a merged PR: /backport <TARGET_BRANCH>
The backport can only be triggered by people with write access to the repository.

Co-authored-by: AbsurdlyLongUsername <22662897+absurdlylongusername@users.noreply.github.com>
2026-01-08 17:06:50 -08:00
Aayush Gupta
39d3d676b0 workflows: Update actions versions
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2026-01-01 16:51:56 +08:00
Tobi
bd844dc765 Add AI policy to contribution guidelines, PR and issue templates
The amount of AI generated PRs is increasing while their quality often remains poor. The introduced guidelines aim to reduce the number of poor quality AI PRs while simultaneously increasing the quality of high quality AI PRs.

New checkboxes for compliance with the AI policy and to increase the PR quality are introduced to the PR template.

Prohibit AI generated issue and PR descriptions
2025-12-16 21:34:25 +01:00
Tobi
f2cce5d6cf Update PR template to specify target branch for features
Added a note to target the 'refactor' branch for features.
2025-11-17 01:05:24 -08:00
Michael Zh
47ab292ebb Bump emulator target 33 -> 35 2025-07-23 22:30:34 -04:00
Stypox
a1c333b127 Temporarily disable sonarcloud CI step 2025-06-28 15:17:18 +02:00
Naveen Singh
6fc735c0d9 Fix image minimizer pattern
Added non-capturing group that matches either:

 - `user-attachments/assets`
 - `owner/repo/assets/digits`
2025-04-27 19:35:31 -04:00
Tom Levy
f12e7b7a81 Fix image-minimizer on lines containing multiple images 2025-01-04 08:15:44 +00:00
Rishi Das
bfe4f7d1be Update CONTRIBUTING.md 2024-12-08 02:00:41 +05:30
Rishi Das
39deef8916 Update CONTRIBUTING.md 2024-12-08 02:00:04 +05:30
Rishi Das
6f0e413d31 Update CONTRIBUTING.md 2024-12-08 01:59:14 +05:30
Stypox
e854298622 Use JDK 21 in build-release-apk.yml
See https://github.com/TeamNewPipe/NewPipe/issues/11754
2024-12-02 13:49:30 +01:00
Stypox
76db010582 Add build-release-apk workflow 2024-11-30 13:29:38 +01:00
litetex
75209c66da CI: Use Java 21 2024-10-22 21:23:26 +02:00
opusforlife2
85ecc703ba Update Matrix room link, and prioritise it (#11350)
* Update Matrix room link, and prioritise it

* Update Matrix room link in CONTRIBUTING.md

* Prioritise Matrix in contribution doc too
2024-07-25 16:21:21 +02:00
Stypox
db3afd1000 Run CI on pull requests to refactor branch, too 2024-07-02 17:37:09 +02:00
Eric Driussi
68fe2700bd Remove kotlin restriction 2024-06-24 09:47:29 +01:00
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