Skip to content

Commit 355b2ef

Browse files
authored
Merge branch 'master' into fix-json-intent
2 parents d7b996c + b302495 commit 355b2ef

File tree

122 files changed

+2942
-788
lines changed

Some content is hidden

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

122 files changed

+2942
-788
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ body:
112112
description: |
113113
A picture or video is worth a thousand words.
114114
115-
If applicable, drag and drop screenshots or a screen recording to help explain your problem. If your file is too big for Github to accept, try to compress it (ZIP file), or feel free to paste a link to an image/video hoster here instead.
115+
If applicable, drag and drop screenshots or a screen recording to help explain your problem. If your file is too big for Github to accept, try to compress it (ZIP file), or feel free to paste a link to an image/video instead.
116116
117117
- type: textarea
118118
id: additional-information

.github/ISSUE_TEMPLATE/feature_request.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,12 @@ body:
2020
required: true
2121
- label: "I have read the FAQs inside the app (Menu -> About -> FAQs) and my problem isn't listed."
2222
required: true
23-
- label: "**I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.**"
23+
- label: "**I have taken the time to fill in all the required details. I understand that the request will be dismissed otherwise.**"
2424
required: true
2525
- label: "This issue contains only one feature request."
2626
required: true
2727
- label: "I have read and understood the [contribution guidelines](https://github.com/FossifyOrg/File-Manager/blob/master/CONTRIBUTING.md)."
2828
required: true
29-
- label: "I optionally [donated](https://fossify.org/donate) to support the Fossify mission."
30-
required: false
3129

3230
- type: textarea
3331
id: feature-description

.github/PULL_REQUEST_TEMPLATE.md

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

.github/dependabot.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "bundler"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"
7+
commit-message:
8+
prefix: "chore"
9+
prefix-development: "chore"
10+
include: "scope"
11+
assignees:
12+
- "naveensingh"
13+
14+
- package-ecosystem: "gradle"
15+
directory: "/"
16+
schedule:
17+
interval: "weekly"
18+
commit-message:
19+
prefix: "chore"
20+
prefix-development: "chore"
21+
include: "scope"
22+
assignees:
23+
- "naveensingh"
24+
25+
- package-ecosystem: "github-actions"
26+
directory: "/"
27+
schedule:
28+
interval: "weekly"
29+
commit-message:
30+
prefix: "chore"
31+
prefix-development: "chore"
32+
include: "scope"
33+
assignees:
34+
- "naveensingh"

.github/workflows/foss-release.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Github Release
2+
3+
on:
4+
push:
5+
tags:
6+
- "*.*.*"
7+
8+
permissions:
9+
contents: read
10+
11+
jobs:
12+
call-release-workflow:
13+
uses: FossifyOrg/.github/.github/workflows/release.yml@main
14+
with:
15+
tag: ${{ github.ref_name }}
16+
flavor: "foss"
17+
package_name: "org.fossify.filemanager"
18+
19+
secrets:
20+
ANDROID_KEYSTORE_BASE64: ${{ secrets.ANDROID_KEYSTORE_BASE64 }}
21+
SIGNING_KEY_ALIAS: ${{ secrets.SIGNING_KEY_ALIAS }}
22+
SIGNING_KEY_PASSWORD: ${{ secrets.SIGNING_KEY_PASSWORD }}
23+
SIGNING_STORE_PASSWORD: ${{ secrets.SIGNING_STORE_PASSWORD }}
24+
SERVICE_ACCOUNT_JSON_KEY_BASE64: ""
25+
FOSSIFYBOT_TOKEN: ${{ secrets.FOSSIFYBOT_TOKEN }}
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
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+
permissions:
28+
contents: read
29+
30+
jobs:
31+
call-release-workflow:
32+
uses: FossifyOrg/.github/.github/workflows/release.yml@main
33+
with:
34+
flavor: "gplay"
35+
package_name: "org.fossify.filemanager"
36+
track: ${{ github.event.inputs.track }}
37+
rollout: ${{ github.event.inputs.rollout }}
38+
validate_only: ${{ github.event.inputs.validate_only == 'true' }}
39+
40+
secrets:
41+
ANDROID_KEYSTORE_BASE64: ${{ secrets.ANDROID_KEYSTORE_BASE64 }}
42+
SIGNING_KEY_ALIAS: ${{ secrets.SIGNING_KEY_ALIAS }}
43+
SIGNING_KEY_PASSWORD: ${{ secrets.SIGNING_KEY_PASSWORD }}
44+
SIGNING_STORE_PASSWORD: ${{ secrets.SIGNING_STORE_PASSWORD }}
45+
SERVICE_ACCOUNT_JSON_KEY_BASE64: ${{ secrets.SERVICE_ACCOUNT_JSON_KEY_BASE64 }}
46+
FOSSIFYBOT_TOKEN: ""

.github/workflows/image-minimizer.js

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

.github/workflows/image-minimizer.yml

Lines changed: 5 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -5,31 +5,11 @@ on:
55
types: [created, edited]
66
issues:
77
types: [opened, edited]
8-
pull_request:
8+
pull_request_target:
99
types: [opened, edited]
1010

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

.github/workflows/no-response.yml

Lines changed: 7 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,12 @@
1-
name: no-response
1+
name: No Response
22

3-
# Both `issue_comment` and `scheduled` event types are required for this Action
4-
# to work properly.
53
on:
6-
issue_comment:
7-
types: [created]
84
schedule:
9-
# Run daily at midnight.
10-
- cron: '0 0 * * *'
11-
12-
permissions:
13-
issues: write
14-
pull-requests: write
5+
- cron: '0 12 * * *' # Runs daily at noon
6+
workflow_dispatch:
157

168
jobs:
17-
noResponse:
18-
runs-on: ubuntu-latest
19-
steps:
20-
- uses: lee-dohm/[email protected]
21-
with:
22-
token: ${{ github.token }}
23-
# Number of days of inactivity before an issue is closed for lack of response.
24-
daysUntilClose: 30
25-
responseRequiredLabel: waiting for author
9+
call-no-response-workflow:
10+
uses: FossifyOrg/.github/.github/workflows/no-response.yml@main
11+
secrets:
12+
FOSSIFYBOT_TOKEN: ${{ secrets.FOSSIFYBOT_TOKEN }}

.github/workflows/pr-labeler.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: PR Labeler
2+
3+
on:
4+
pull_request_target:
5+
types: [opened]
6+
7+
permissions:
8+
contents: read
9+
# write permission is not required as FOSSIFYBOT_TOKEN is used
10+
11+
jobs:
12+
call-pr-labeler-workflow:
13+
uses: FossifyOrg/.github/.github/workflows/pr-labeler.yml@main
14+
secrets:
15+
FOSSIFYBOT_TOKEN: ${{ secrets.FOSSIFYBOT_TOKEN }}

0 commit comments

Comments
 (0)