Skip to content

Commit 94240f7

Browse files
authored
Merge branch 'master' into respect_preferred_sim
2 parents f116a36 + 4e0eee5 commit 94240f7

44 files changed

Lines changed: 843 additions & 472 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 0 additions & 28 deletions
This file was deleted.

.github/dependabot.yml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
version: 2
2+
3+
registries:
4+
maven-google:
5+
type: maven-repository
6+
url: "https://dl.google.com/dl/android/maven2/"
7+
8+
maven-central:
9+
type: maven-repository
10+
url: "https://repo.maven.apache.org/maven2"
11+
12+
jitpack:
13+
type: maven-repository
14+
url: "https://jitpack.io"
15+
16+
updates:
17+
- package-ecosystem: "bundler"
18+
directory: "/"
19+
schedule:
20+
interval: "weekly"
21+
commit-message:
22+
prefix: "chore"
23+
prefix-development: "chore"
24+
include: "scope"
25+
assignees:
26+
- "naveensingh"
27+
28+
- package-ecosystem: "gradle"
29+
directory: "/"
30+
registries:
31+
- maven-central
32+
- maven-google
33+
- jitpack
34+
schedule:
35+
interval: "weekly"
36+
commit-message:
37+
prefix: "chore"
38+
prefix-development: "chore"
39+
include: "scope"
40+
assignees:
41+
- "naveensingh"
42+
43+
- package-ecosystem: "github-actions"
44+
directory: "/"
45+
schedule:
46+
interval: "weekly"
47+
commit-message:
48+
prefix: "chore"
49+
prefix-development: "chore"
50+
include: "scope"
51+
assignees:
52+
- "naveensingh"

.github/workflows/foss-release.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Github Release
2+
3+
on:
4+
push:
5+
tags:
6+
- "*.*.*"
7+
8+
jobs:
9+
call-release-workflow:
10+
uses: FossifyOrg/.github/.github/workflows/release.yml@main
11+
with:
12+
tag: ${{ github.ref_name }}
13+
flavor: "foss"
14+
package_name: "org.fossify.phone"
15+
secrets: inherit
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Google Play Release
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
track:
7+
description: "Google Play Store release track"
8+
required: false
9+
type: choice
10+
default: "beta"
11+
options:
12+
- internal
13+
- alpha
14+
- beta
15+
- production
16+
rollout:
17+
description: "Rollout fraction (0.0-1.0)"
18+
required: false
19+
type: string
20+
default: "0.05"
21+
validate_only:
22+
description: "Fastlane dry-run?"
23+
required: false
24+
type: boolean
25+
default: false
26+
27+
jobs:
28+
call-release-workflow:
29+
uses: FossifyOrg/.github/.github/workflows/release.yml@main
30+
with:
31+
flavor: "gplay"
32+
package_name: "org.fossify.phone"
33+
track: ${{ github.event.inputs.track }}
34+
rollout: ${{ github.event.inputs.rollout }}
35+
validate_only: ${{ github.event.inputs.validate_only == 'true' }}
36+
secrets: inherit

.github/workflows/image-minimizer.js

Lines changed: 0 additions & 148 deletions
This file was deleted.

.github/workflows/image-minimizer.yml

Lines changed: 3 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -9,26 +9,6 @@ on:
99
types: [opened, edited]
1010

1111
jobs:
12-
try-minimize:
13-
runs-on: ubuntu-latest
14-
15-
steps:
16-
- uses: actions/checkout@v4
17-
with:
18-
token: ${{ secrets.FOSSIFYBOT_TOKEN }}
19-
20-
- uses: actions/setup-node@v4
21-
with:
22-
node-version: 16
23-
24-
- name: Install probe-image-size
25-
run: npm i probe-image-size@7.2.3 --ignore-scripts
26-
27-
- name: Minimize simple images
28-
uses: actions/github-script@v7
29-
timeout-minutes: 3
30-
with:
31-
github-token: ${{ secrets.FOSSIFYBOT_TOKEN }}
32-
script: |
33-
const script = require('.github/workflows/image-minimizer.js');
34-
await script({github, context});
12+
call-image-minimizer-workflow:
13+
uses: FossifyOrg/.github/.github/workflows/image-minimizer.yml@main
14+
secrets: inherit

.github/workflows/no-response.yml

Lines changed: 5 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,11 @@
1-
name: no-response
1+
name: No Response
22

33
on:
44
schedule:
5-
- cron: '0 0 * * *' # Runs daily at midnight
5+
- cron: "0 12 * * *" # Runs daily at noon
66
workflow_dispatch:
77

88
jobs:
9-
noResponse:
10-
runs-on: ubuntu-latest
11-
steps:
12-
- uses: actions/stale@v9
13-
with:
14-
repo-token: ${{ secrets.FOSSIFYBOT_TOKEN }}
15-
days-before-stale: -1
16-
# Number of days of inactivity before an issue is closed for lack of response.
17-
days-before-close: 14
18-
only-labels: 'waiting for author'
19-
stale-issue-label: 'waiting for author'
20-
stale-pr-label: 'waiting for author'
21-
remove-stale-when-updated: false
22-
ignore-updates: true
23-
close-issue-message: This issue has been automatically closed due to inactivity. We requested additional information but have not received a response from the original author. Without the requested details, we cannot proceed. If you have or find the information needed, please comment so we can reopen the issue.
24-
close-pr-message: This pull request has been automatically closed due to inactivity. We requested additional information but have not received a response from the original author. Without the requested details, we cannot proceed. If you have the needed information or updates, please reopen the PR or comment so we can continue the review.
9+
call-no-response-workflow:
10+
uses: FossifyOrg/.github/.github/workflows/no-response.yml@main
11+
secrets: inherit

.github/workflows/pr-labeler.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
name: PR Labeler
2+
3+
on:
4+
pull_request_target:
5+
types: [opened]
6+
7+
jobs:
8+
call-pr-labeler-workflow:
9+
uses: FossifyOrg/.github/.github/workflows/pr-labeler.yml@main
10+
secrets: inherit
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
name: Release Commenter
2+
3+
on:
4+
release:
5+
types: [published]
6+
7+
jobs:
8+
call-release-commenter:
9+
uses: FossifyOrg/.github/.github/workflows/release-commenter.yml@main
10+
secrets: inherit

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,4 @@
99
keystore.jks
1010
keystore.properties
1111
fastlane/fastlane.json
12-
Gemfile
13-
Gemfile.lock
12+
fastlane/report.xml

0 commit comments

Comments
 (0)