Initial commit.
This commit is contained in:
3
.github/FUNDING.yml
vendored
Normal file
3
.github/FUNDING.yml
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
buy_me_a_coffee: HeCodes2Much
|
||||
liberapay: HeCodes2Much
|
||||
github: [HeCodes2Much,DroidWorksStudio]
|
||||
132
.github/ISSUE_TEMPLATE/BUG_REPORT.yml
vendored
Normal file
132
.github/ISSUE_TEMPLATE/BUG_REPORT.yml
vendored
Normal file
@@ -0,0 +1,132 @@
|
||||
name: Bug report
|
||||
description: Create a bug report
|
||||
labels: ['Type: Bug Report']
|
||||
title: '[Bug Report] add text here'
|
||||
assignees: ['HeCodes2Much']
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
Thank you for helping we to make mLauncher better by reporting a bug. :hugs:
|
||||
Please fill in as much information as possible about your bug so that we can fix it faster.
|
||||
|
||||
- type: checkboxes
|
||||
id: checklist
|
||||
attributes:
|
||||
label: "Checklist"
|
||||
options:
|
||||
- label: "I will make sure to have the issue written in English with an English title."
|
||||
required: true
|
||||
- label: "I made sure that there are **no existing issues** - [open](https://github.com/HeCodes2MuchDroidWorksStudio/mLauncher/issues) or [closed](https://github.com/HeCodes2MuchDroidWorksStudio/mLauncher/issues?q=is%3Aissue+is%3Aclosed) - which I could contribute my information to."
|
||||
required: true
|
||||
- label: "I've verified that this issue hasn't been addressed in the [changelogs](https://github.com/DroidWorksStudio/mLauncher/blob/main/CHANGELOG.md)."
|
||||
required: true
|
||||
- label: "I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise."
|
||||
required: true
|
||||
- label: "This issue contains only one bug."
|
||||
required: true
|
||||
- label: "I optionally [donated](https://www.buymeacoffee.com/HeCodes2Much) to support the mLauncher mission."
|
||||
required: false
|
||||
|
||||
- type: input
|
||||
id: app-version
|
||||
attributes:
|
||||
label: App version
|
||||
description: "In which version did you encounter the bug?"
|
||||
placeholder: "xx.xx - Can be seen in the app from the 'Settings' section"
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: input
|
||||
id: device-os-info
|
||||
attributes:
|
||||
label: Android version
|
||||
description: |
|
||||
With what operating system (+ version) did you encounter the bug?
|
||||
placeholder: "Example: Android 10"
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: dropdown
|
||||
id: download
|
||||
attributes:
|
||||
label: How did you download the software?
|
||||
options:
|
||||
- F-Droid
|
||||
- Github (Release)
|
||||
- Github (Action)
|
||||
- Built from Source
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
id: bug-description
|
||||
attributes:
|
||||
label: Bug description
|
||||
description: |
|
||||
Please give us a description of what the bug is about.
|
||||
placeholder: |
|
||||
When I try to set the language to english, the app crashes.
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
id: steps-to-reproduce
|
||||
attributes:
|
||||
label: Steps to reproduce the bug
|
||||
description: |
|
||||
What did you do for the bug to show up?
|
||||
If you can't cause the bug to show up again reliably (and hence don't have a proper set of steps to give us), please still try to give as many details as possible on how you think you encountered the bug.
|
||||
placeholder: |
|
||||
1. Go to '...'
|
||||
2. Press on '....'
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
id: expected-behavior
|
||||
attributes:
|
||||
label: Expected behavior
|
||||
description: |
|
||||
Tell us what you expect to happen.
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
id: screen-media
|
||||
attributes:
|
||||
label: Screenshots/Screen recordings
|
||||
description: |
|
||||
A picture or video is worth a thousand words.
|
||||
If applicable, share screenshots or a screen recording to help explain your problem.
|
||||
placeholder: |
|
||||
<details>
|
||||
<summary>Context</summary>
|
||||
|
||||
screenshots go in here
|
||||
|
||||
</details>
|
||||
|
||||
- type: textarea
|
||||
id: logs
|
||||
attributes:
|
||||
label: Logs
|
||||
description: |
|
||||
If you could catch the log of the bug, don't forget to share it. This is the best way to point out any bug.
|
||||
|
||||
- type: textarea
|
||||
id: additional-information
|
||||
attributes:
|
||||
label: Additional information
|
||||
description: |
|
||||
Any other information you'd like to include.
|
||||
|
||||
- type: checkboxes
|
||||
id: checklist-accept
|
||||
attributes:
|
||||
label: "Terms and Conditions"
|
||||
options:
|
||||
- label: "I have read all the rules above and filled in the requiered fields to the best of my ability."
|
||||
required: true
|
||||
- label: "I accept that if I fail to follow the rules listed above that i will be blocked from interactions with this project."
|
||||
required: true
|
||||
128
.github/ISSUE_TEMPLATE/CRASH_REPORT.yml
vendored
Normal file
128
.github/ISSUE_TEMPLATE/CRASH_REPORT.yml
vendored
Normal file
@@ -0,0 +1,128 @@
|
||||
name: Crash Report
|
||||
description: Create a report with a generated crash log attached (if possible) to help mLauncher improve
|
||||
labels: ['Type: Crash Report']
|
||||
title: '[Crash Report] add text here'
|
||||
assignees: ['HeCodes2Much']
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
Thank you for helping me to make mLauncher better by reporting a crash. :hugs:
|
||||
Please fill in as much information as possible about your crash so that I can fix it immediately.
|
||||
|
||||
- type: checkboxes
|
||||
id: checklist
|
||||
attributes:
|
||||
label: "Checklist"
|
||||
options:
|
||||
- label: "I will make sure to have the issue written in English with an English title."
|
||||
required: true
|
||||
- label: "I've verified that this issue hasn't been addressed in the [changelogs](https://github.com/DroidWorksStudio/mLauncher/blob/main/CHANGELOG.md)."
|
||||
required: true
|
||||
- label: "I have created the title to best match the issue."
|
||||
required: true
|
||||
- label: "I optionally [donated](https://www.buymeacoffee.com/HeCodes2Much) to support the mLauncher mission."
|
||||
required: false
|
||||
|
||||
- type: input
|
||||
id: app-version
|
||||
attributes:
|
||||
label: App version
|
||||
description: "In which version did you encounter the crash?"
|
||||
placeholder: "xx.xx - Can be seen in the app from the 'Settings' section"
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: input
|
||||
id: device-os-info
|
||||
attributes:
|
||||
label: Android version
|
||||
description: |
|
||||
With what operating system (+ version) did you encounter the crash?
|
||||
placeholder: "Example: Android 10"
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: dropdown
|
||||
id: download
|
||||
attributes:
|
||||
label: How did you download the software?
|
||||
options:
|
||||
- F-Droid
|
||||
- Github (Release)
|
||||
- Github (Action)
|
||||
- Built from Source
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
id: crash-description
|
||||
attributes:
|
||||
label: Crash description
|
||||
description: |
|
||||
Please give us a description of what the crash is about.
|
||||
placeholder: |
|
||||
When I try to set the language to english, the app crashes.
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
id: steps-to-reproduce
|
||||
attributes:
|
||||
label: Steps to reproduce the crash
|
||||
description: |
|
||||
What did you do for the crash to show up?
|
||||
If you can't cause the crash to show up again reliably (and hence don't have a proper set of steps to give us), please still try to give as many details as possible on how you think you encountered the crash.
|
||||
placeholder: |
|
||||
1. Go to '...'
|
||||
2. Press on '....'
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
id: expected-behavior
|
||||
attributes:
|
||||
label: Expected behavior
|
||||
description: |
|
||||
Tell us what you expect to happen.
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
id: screen-media
|
||||
attributes:
|
||||
label: Screenshots/Screen recordings
|
||||
description: |
|
||||
A picture or video is worth a thousand words.
|
||||
If applicable, share screenshots or a screen recording to help explain your problem.
|
||||
placeholder: |
|
||||
<details>
|
||||
<summary>Context</summary>
|
||||
|
||||
screenshots go in here
|
||||
|
||||
</details>
|
||||
|
||||
- type: textarea
|
||||
id: logs
|
||||
attributes:
|
||||
label: Logs
|
||||
description: |
|
||||
If you could catch the log of the crash, don't forget to share it. This is the best way to point out any crash.
|
||||
|
||||
- type: textarea
|
||||
id: additional-information
|
||||
attributes:
|
||||
label: Additional information
|
||||
description: |
|
||||
Any other information you'd like to include.
|
||||
|
||||
- type: checkboxes
|
||||
id: checklist-accept
|
||||
attributes:
|
||||
label: "Terms and Conditions"
|
||||
options:
|
||||
- label: "I have read all the rules above and filled in the requiered fields to the best of my ability."
|
||||
required: true
|
||||
- label: "I accept that if I fail to follow the rules listed above that i will be blocked from interactions with this project."
|
||||
required: true
|
||||
56
.github/ISSUE_TEMPLATE/ENHANCEMENT.yml
vendored
Normal file
56
.github/ISSUE_TEMPLATE/ENHANCEMENT.yml
vendored
Normal file
@@ -0,0 +1,56 @@
|
||||
name: Feature request
|
||||
description: Suggest an idea for this project
|
||||
labels: ['Type: Enhancement']
|
||||
title: '[Enhancement] add text here'
|
||||
assignees: ['HeCodes2Much']
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
Thank you for helping to make mLauncher better by suggesting a feature. :hugs:
|
||||
Your ideas are highly welcome!
|
||||
|
||||
- type: checkboxes
|
||||
id: checklist
|
||||
attributes:
|
||||
label: "Checklist"
|
||||
options:
|
||||
- label: "I will make sure to have the issue written in English with an English title."
|
||||
required: true
|
||||
- label: "I made sure that there are **no existing issues** - [open](https://github.com/HeCodes2MuchDroidWorksStudio/mLauncher/issues) or [closed](https://github.com/HeCodes2MuchDroidWorksStudio/mLauncher/issues?q=is%3Aissue+is%3Aclosed) - which I could contribute my information to."
|
||||
required: true
|
||||
- label: "I have already checked the [WIKI](https://github.com/HeCodes2MuchDroidWorksStudio/mLauncher/wiki) pages and made sure that the feature isn't already exist."
|
||||
required: true
|
||||
- label: "I've verified that this issue hasn't been addressed in the [changelogs](https://github.com/DroidWorksStudio/mLauncher/blob/main/CHANGELOG.md)."
|
||||
required: true
|
||||
- label: "I have taken the time to fill in all the required details. I understand that the feature request will be dismissed otherwise."
|
||||
required: true
|
||||
- label: "This issue contains only one feature request."
|
||||
required: true
|
||||
- label: "I optionally [donated](https://www.buymeacoffee.com/HeCodes2Much) to support the mLauncher mission."
|
||||
required: false
|
||||
|
||||
- type: textarea
|
||||
id: feature-description
|
||||
attributes:
|
||||
label: Feature description
|
||||
description: |
|
||||
Explain how you want the app's look or behavior to change to suit your needs.
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
id: additional-information
|
||||
attributes:
|
||||
label: Additional information
|
||||
description: Any other information you'd like to include.
|
||||
|
||||
- type: checkboxes
|
||||
id: checklist-accept
|
||||
attributes:
|
||||
label: "Terms and Conditions"
|
||||
options:
|
||||
- label: "I have read all the rules above and filled in the requiered fields to the best of my ability."
|
||||
required: true
|
||||
- label: "I accept that if I fail to follow the rules listed above that i will be blocked from interactions with this project."
|
||||
required: true
|
||||
51
.github/ISSUE_TEMPLATE/QUESTION.yml
vendored
Normal file
51
.github/ISSUE_TEMPLATE/QUESTION.yml
vendored
Normal file
@@ -0,0 +1,51 @@
|
||||
name: Question
|
||||
description: Ask about anything related
|
||||
labels: ['Type: Question']
|
||||
title: '[Question] add text here'
|
||||
assignees: ['HeCodes2Much']
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
Thanks for taking the time to fill out this issue! :hugs:
|
||||
|
||||
- type: checkboxes
|
||||
id: checklist
|
||||
attributes:
|
||||
label: "Checklist"
|
||||
options:
|
||||
- label: "I will make sure to have the issue written in English with an English title."
|
||||
required: true
|
||||
- label: "I made sure that there are **no existing issues** - [open](https://github.com/HeCodes2MuchDroidWorksStudio/mLauncher/issues) or [closed](https://github.com/HeCodes2MuchDroidWorksStudio/mLauncher/issues?q=is%3Aissue+is%3Aclosed) - which I could contribute my information to."
|
||||
required: true
|
||||
- label: "I have already checked the [WIKI](https://github.com/HeCodes2MuchDroidWorksStudio/mLauncher/wiki) pages."
|
||||
required: true
|
||||
- label: "I've verified that this issue hasn't been addressed in the [changelogs](https://github.com/DroidWorksStudio/mLauncher/blob/main/CHANGELOG.md)."
|
||||
required: true
|
||||
- label: "I have taken the time to fill in all the required details. I understand that the question will be dismissed otherwise."
|
||||
required: true
|
||||
- label: "I optionally [donated](https://www.buymeacoffee.com/HeCodes2Much) to support the mLauncher mission."
|
||||
required: false
|
||||
|
||||
- type: textarea
|
||||
id: what-is-the-question
|
||||
attributes:
|
||||
label: What is/are your question(s)?
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
id: additional-information
|
||||
attributes:
|
||||
label: Additional information
|
||||
description: Any other information you'd like to include.
|
||||
|
||||
- type: checkboxes
|
||||
id: checklist-accept
|
||||
attributes:
|
||||
label: "Terms and Conditions"
|
||||
options:
|
||||
- label: "I have read all the rules above and filled in the requiered fields to the best of my ability."
|
||||
required: true
|
||||
- label: "I accept that if I fail to follow the rules listed above that i will be blocked from interactions with this project."
|
||||
required: true
|
||||
14
.github/ISSUE_TEMPLATE/config.yml
vendored
Normal file
14
.github/ISSUE_TEMPLATE/config.yml
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
blank_issues_enabled: false
|
||||
contact_links:
|
||||
- name: GitHub Community Support
|
||||
url: https://github.com/orgs/community/discussions
|
||||
about: Please ask and answer questions here.
|
||||
- name: Organization wide discussions
|
||||
url: https://github.com/orgs/HeAndroids2Much/discussions
|
||||
about: For any discussion within our community
|
||||
- name: GitHub Security Bug Bounty
|
||||
url: https://bounty.github.com/
|
||||
about: Please report security vulnerabilities here.
|
||||
- name: Email Me
|
||||
url: mailto://wayne6324@proton.me
|
||||
about: Contact me via sending email
|
||||
50
.github/PULL_REQUEST_TEMPLATE.md
vendored
Normal file
50
.github/PULL_REQUEST_TEMPLATE.md
vendored
Normal file
@@ -0,0 +1,50 @@
|
||||
### Type of Change <!-- Required -->
|
||||
|
||||
<!-- Select the applicable option(s) by placing an 'X' inside the square brackets, and remove any options that are not relevant. -->
|
||||
|
||||
- [ ] Bug Fix (user-facing) <!-- Non-breaking change which fixes an issue -->
|
||||
- [ ] Feature Request (user-facing) <!-- Non-breaking change which adds functionality -->
|
||||
- [ ] Codebase Improvement (developer-facing) <!-- Non-breaking change which refines the codebase -->
|
||||
- [ ] Breaking Change (developer/user-facing) <!-- Fix or feature that would cause existing functionality to not work as expected -->
|
||||
- [ ] Release (user-facing) <!-- New release for mLauncher -->
|
||||
- [ ] This change requires a documentation update
|
||||
|
||||
### All Submissions <!-- Check all applicable options -->
|
||||
|
||||
- [ ] Checked for existing [Pull Requests](../../../pulls) for the same update/change <!-- Required -->
|
||||
- [ ] Descriptive commit message with a short title <!-- Required -->
|
||||
- [ ] Self-reviewed code <!-- Required -->
|
||||
- [ ] Code comments, especially in complex areas <!-- Required -->
|
||||
- [ ] No new warnings or errors introduced <!-- Required -->
|
||||
- [ ] Changes made in a separate branch <!-- Required -->
|
||||
- [ ] Branch named with appropriate prefix (e.g., 'bug/', 'feat/', 'clean/', 'release/') <!-- Required -->
|
||||
<!-- Examples: 'bug/signin-issue', 'feat/issue-templates', 'clean/code-change-to-app-draw'. -->
|
||||
|
||||
### Before Opening Pull Request
|
||||
|
||||
- [ ] Descriptive title for your PR <!-- Required -->
|
||||
- [ ] Detailed description of changes <!-- Required -->
|
||||
- [ ] Include 'closes/fixes #XXXX' in the comment to auto-close relevant issues <!-- Delete if not relevant -->
|
||||
|
||||
### Description of Changes
|
||||
|
||||
<!--
|
||||
Include a summary of changes, related issues, motivation, context, and dependencies.
|
||||
-->
|
||||
|
||||
#### Changes Description <!-- Provide a brief description of each new feature or issue fix. -->
|
||||
|
||||
1.
|
||||
2.
|
||||
3.
|
||||
|
||||
### Test Device: <!-- Required -->
|
||||
- mLauncher version:
|
||||
- Device name:
|
||||
- Android version:
|
||||
- Other information:
|
||||
|
||||
<!--
|
||||
Please ensure compliance with these guidelines to facilitate smoother handling of your submission.
|
||||
Non-compliance may result in delays or rejection of your pull request.
|
||||
-->
|
||||
11
.github/dependabot.yml
vendored
Normal file
11
.github/dependabot.yml
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
# To get started with Dependabot version updates, you'll need to specify which
|
||||
# package ecosystems to update and where the package manifests are located.
|
||||
# Please see the documentation for all configuration options:
|
||||
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
|
||||
|
||||
version: 2
|
||||
updates:
|
||||
- package-ecosystem: "gradle" # See documentation for possible values
|
||||
directory: "/" # Location of package manifests
|
||||
schedule:
|
||||
interval: "weekly"
|
||||
30
.github/workflows/add-comment-for-help-wanted_ci.yml
vendored
Normal file
30
.github/workflows/add-comment-for-help-wanted_ci.yml
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
# This workflow uses actions that are not certified by GitHub.
|
||||
# They are provided by a third-party and are governed by
|
||||
# separate terms of service, privacy policy, and support
|
||||
# documentation.
|
||||
|
||||
# GitHub recommends pinning actions to a commit SHA.
|
||||
# To get a newer version, you will need to update the SHA.
|
||||
# You can also reference a tag or branch, but the action may change without warning.
|
||||
|
||||
name: Create Comment When Help wanted
|
||||
|
||||
on:
|
||||
issues:
|
||||
types:
|
||||
- labeled
|
||||
|
||||
jobs:
|
||||
add-comment:
|
||||
if: contains(github.event.label.name, 'Help Wanted')
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
issues: write
|
||||
steps:
|
||||
- name: Create comment
|
||||
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043
|
||||
with:
|
||||
token: ${{ secrets.GIT_BOT_TOKEN }}
|
||||
issue-number: ${{ github.event.issue.number }}
|
||||
body: |
|
||||
This issue is available for anyone to work on. **Make sure to reference this issue in your pull request.** :sparkles: Thank you for your contribution! :sparkles:
|
||||
49
.github/workflows/android-branch_ci.yml
vendored
Normal file
49
.github/workflows/android-branch_ci.yml
vendored
Normal file
@@ -0,0 +1,49 @@
|
||||
# Builds the project
|
||||
name: Android Feature Branch CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- '*'
|
||||
- '*/**'
|
||||
- '!*main'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Build, Sign & Upload
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout project
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
token: ${{ secrets.GIT_BOT_TOKEN }}
|
||||
|
||||
- name: set up JDK 17
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
java-version: '17'
|
||||
distribution: 'temurin'
|
||||
cache: gradle
|
||||
|
||||
- uses: actions/cache@v3
|
||||
with:
|
||||
path: |
|
||||
~/.gradle/caches
|
||||
~/.gradle/wrapper
|
||||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-gradle-
|
||||
|
||||
- name: Grant execute permission for gradlew
|
||||
run: chmod +x gradlew
|
||||
|
||||
- name: Build with Gradle
|
||||
run: ./gradlew clean && ./gradlew assembleDebug
|
||||
|
||||
- name: Upload Artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: Signed app bundle
|
||||
path: app/build/outputs/apk/debug/*.apk
|
||||
retention-days: 3
|
||||
47
.github/workflows/android-main_ci.yml
vendored
Normal file
47
.github/workflows/android-main_ci.yml
vendored
Normal file
@@ -0,0 +1,47 @@
|
||||
# Builds the project, signs an API, and then uploads it
|
||||
name: Android Main Branch CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- 'main'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Build, Sign & Upload
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout project
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
token: ${{ secrets.GIT_BOT_TOKEN }}
|
||||
|
||||
- name: set up JDK 17
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
java-version: '17'
|
||||
distribution: 'temurin'
|
||||
cache: gradle
|
||||
|
||||
- uses: actions/cache@v3
|
||||
with:
|
||||
path: |
|
||||
~/.gradle/caches
|
||||
~/.gradle/wrapper
|
||||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-gradle-
|
||||
|
||||
- name: Grant execute permission for gradlew
|
||||
run: chmod +x gradlew
|
||||
|
||||
- name: Build with Gradle
|
||||
run: ./gradlew clean && ./gradlew assembleDebug
|
||||
|
||||
- name: Upload Artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: Signed app bundle
|
||||
path: app/build/outputs/apk/debug/*.apk
|
||||
retention-days: 3
|
||||
47
.github/workflows/android-pr_ci.yml
vendored
Normal file
47
.github/workflows/android-pr_ci.yml
vendored
Normal file
@@ -0,0 +1,47 @@
|
||||
# Builds the project and uploads a debug APK
|
||||
name: Android PR CI
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- 'main'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Build, Sign & Upload
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout project
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: set up JDK 17
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
java-version: '17'
|
||||
distribution: 'temurin'
|
||||
cache: gradle
|
||||
|
||||
- uses: actions/cache@v3
|
||||
with:
|
||||
path: |
|
||||
~/.gradle/caches
|
||||
~/.gradle/wrapper
|
||||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-gradle-
|
||||
|
||||
- name: Grant execute permission for gradlew
|
||||
run: chmod +x gradlew
|
||||
|
||||
- name: Build with Gradle
|
||||
run: ./gradlew clean && ./gradlew assembleDebug
|
||||
|
||||
- name: Upload Artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: Signed app bundle
|
||||
path: app/build/outputs/apk/debug/*.apk
|
||||
retention-days: 3
|
||||
60
.github/workflows/android-release_ci.yml
vendored
Normal file
60
.github/workflows/android-release_ci.yml
vendored
Normal file
@@ -0,0 +1,60 @@
|
||||
# Builds the project
|
||||
name: Android Release CI
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- '*'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Build, Sign & Release
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout project
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
token: ${{ secrets.GIT_BOT_TOKEN }}
|
||||
|
||||
- name: set up JDK 17
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
java-version: '17'
|
||||
distribution: 'temurin'
|
||||
cache: gradle
|
||||
|
||||
- uses: actions/cache@v3
|
||||
with:
|
||||
path: |
|
||||
~/.gradle/caches
|
||||
~/.gradle/wrapper
|
||||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-gradle-
|
||||
|
||||
- name: Grant execute permission for gradlew
|
||||
run: chmod +x gradlew
|
||||
|
||||
- name: Build
|
||||
run: ./gradlew clean && ./gradlew assembleRelease
|
||||
|
||||
- name: Sign APK
|
||||
uses: ilharp/sign-android-release@v1
|
||||
# ID used to access action output
|
||||
id: sign_app
|
||||
with:
|
||||
releaseDir: app/build/outputs/apk/release
|
||||
signingKey: ${{ secrets.SIGNINGKEY_BASE64 }}
|
||||
keyAlias: ${{ secrets.KEY_ALIAS }}
|
||||
keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }}
|
||||
keyPassword: ${{ secrets.KEY_PASSWORD }}
|
||||
buildToolsVersion: 33.0.0
|
||||
|
||||
- name: Release to GitHub
|
||||
uses: svenstaro/upload-release-action@v2
|
||||
with:
|
||||
repo_token: ${{ secrets.GIT_BOT_TOKEN }}
|
||||
file: ${{steps.sign_app.outputs.signedFile}}
|
||||
asset_name: mLauncher-${{ github.ref_name }}-Signed.apk
|
||||
tag: ${{ github.ref }}
|
||||
overwrite: true
|
||||
55
.github/workflows/changelog.yml
vendored
Normal file
55
.github/workflows/changelog.yml
vendored
Normal file
@@ -0,0 +1,55 @@
|
||||
name: Update CHANGELOG.md
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- '*'
|
||||
branches:
|
||||
- 'main'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
changelog:
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- name: Check out repository
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
token: ${{ secrets.GIT_BOT_TOKEN }}
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Generate a changelog
|
||||
uses: orhun/git-cliff-action@v3
|
||||
with:
|
||||
config: cliff.toml
|
||||
args: --verbose
|
||||
env:
|
||||
OUTPUT: CHANGELOG.md
|
||||
|
||||
- name: Import GPG key
|
||||
id: import_gpg
|
||||
uses: crazy-max/ghaction-import-gpg@v2
|
||||
with:
|
||||
git_user_signingkey: true
|
||||
git_commit_gpgsign: true
|
||||
env:
|
||||
GPG_PRIVATE_KEY: ${{ secrets.GIT_ACTIONS_GPG_KEY }}
|
||||
|
||||
- name: Commit and push changes
|
||||
run: |
|
||||
if [[ `git status --porcelain` ]]; then
|
||||
COMMIT_AUTHOR=$(git log -1 --pretty=%an)
|
||||
if [[ "$COMMIT_AUTHOR" != "HeCodes2Much-Bot" ]]; then
|
||||
git config --global user.name ${{ secrets.GIT_NAME }}
|
||||
git config --global user.email ${{ secrets.GIT_EMAIL }}
|
||||
|
||||
git add -A
|
||||
git commit -m "chore(changelog): Update CHANGELOG.md"
|
||||
git push origin main
|
||||
else
|
||||
echo "WARNING: $COMMIT_AUTHOR last committed."
|
||||
fi
|
||||
else
|
||||
echo "WARNING: No changes were detected."
|
||||
fi
|
||||
shell: bash
|
||||
31
.github/workflows/close-inactive-issues_ci.yml
vendored
Normal file
31
.github/workflows/close-inactive-issues_ci.yml
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
name: Close Inactive Issues & Pull Requests
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: "30 1 * * *"
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
close-issues:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
issues: write
|
||||
pull-requests: write
|
||||
steps:
|
||||
- uses: actions/stale@v5
|
||||
with:
|
||||
days-before-issue-stale: 30
|
||||
days-before-issue-close: 14
|
||||
stale-issue-label: "Status: Stale"
|
||||
stale-issue-message: "This issue is stale because it has been open for 30 days with no activity."
|
||||
close-issue-message: "This issue was closed because it has been inactive for 14 days since being marked as stale."
|
||||
exempt-issue-labels: "Status: Help wanted, Status: Work In Progress, Status: Waiting For a Response, Status: Todo"
|
||||
days-before-pr-stale: 90
|
||||
days-before-pr-close: 30
|
||||
close-issue-reason: "not_planned"
|
||||
stale-pr-label: "Status: Stale"
|
||||
close-pr-label: "Status: Stale"
|
||||
stale-pr-message: "This pull request is stale because it has been open for 30 days with no activity."
|
||||
close-pr-message: "This pull request was closed because it has been inactive for 14 days since being marked as stale."
|
||||
exempt-pr-labels: "Status: Help wanted, Status: Work In Progress, Status: Waiting For a Response, Status: Todo"
|
||||
repo-token: ${{ secrets.GIT_BOT_TOKEN }}
|
||||
16
.github/workflows/delete-unused-caches_ci.yml
vendored
Normal file
16
.github/workflows/delete-unused-caches_ci.yml
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
name: Delete Unused Caches
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: "30 1 * * *"
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
delete:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
# Do other steps like checkout, install, compile, etc.
|
||||
- uses: MyAlbum/purge-cache@master
|
||||
with:
|
||||
max-age: 1800 # Cache max 7 days since last use (this is the default)
|
||||
debug: true # Set to true to output debug info
|
||||
21
.github/workflows/gitguardian.yaml
vendored
Normal file
21
.github/workflows/gitguardian.yaml
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
name: GitGuardian scan
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
scanning:
|
||||
name: GitGuardian scan
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0 # fetch all history so multiple commits can be scanned
|
||||
- name: GitGuardian scan
|
||||
uses: GitGuardian/ggshield/actions/secret@v1.26.0
|
||||
env:
|
||||
GITHUB_PUSH_BEFORE_SHA: ${{ github.event.before }}
|
||||
GITHUB_PUSH_BASE_SHA: ${{ github.event.base }}
|
||||
GITHUB_PULL_BASE_SHA: ${{ github.event.pull_request.base.sha }}
|
||||
GITHUB_DEFAULT_BRANCH: ${{ github.event.repository.default_branch }}
|
||||
GITGUARDIAN_API_KEY: ${{ secrets.GITGUARDIAN_API_KEY }}
|
||||
24
.github/workflows/thank-you-issue_ci.yml
vendored
Normal file
24
.github/workflows/thank-you-issue_ci.yml
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
name: Thank New Reporters
|
||||
|
||||
on:
|
||||
issues:
|
||||
types:
|
||||
- reopened
|
||||
- opened
|
||||
|
||||
jobs:
|
||||
comment:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/github-script@v6
|
||||
with:
|
||||
github-token: ${{ secrets.GIT_BOT_TOKEN }}
|
||||
script: |
|
||||
github.rest.issues.createComment({
|
||||
issue_number: context.issue.number,
|
||||
owner: context.repo.owner,
|
||||
repo: context.repo.repo,
|
||||
body: `👋 Thanks for reporting!
|
||||
|
||||
We will get back to you soon about this issue.`
|
||||
})
|
||||
20
.github/workflows/validate-gradle-wrapper.yml
vendored
Normal file
20
.github/workflows/validate-gradle-wrapper.yml
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
name: Validate Gradle Wrapper
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- '*'
|
||||
- '!translate_main'
|
||||
pull_request:
|
||||
branches:
|
||||
- 'main'
|
||||
|
||||
jobs:
|
||||
validation:
|
||||
name: Validation
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
- uses: gradle/wrapper-validation-action@v1
|
||||
Reference in New Issue
Block a user