-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
29 changed files
with
371 additions
and
229 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
--- | ||
name: Bug report | ||
about: Report a bug or an issue with existing features | ||
title: "[\U0001F41E] " | ||
labels: bug, triage | ||
assignees: Nek-12 | ||
|
||
--- | ||
|
||
### Description (required): | ||
<sup>describe the difference between expected and actual behavior, if not evident</sup> | ||
|
||
|
||
|
||
### Steps to reproduce (required) | ||
Steps to reproduce the behavior: | ||
|
||
1. ... | ||
|
||
--- | ||
|
||
<details> | ||
<summary>Stacktrace (if applicable):</summary> | ||
|
||
```plaintext | ||
``` | ||
|
||
</details> | ||
|
||
--- | ||
|
||
<details> | ||
<summary>Relevant code:</summary> | ||
|
||
```kotlin | ||
|
||
``` | ||
|
||
</details> | ||
|
||
--- | ||
|
||
- [ ] This issue hasn't been reported already |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest an idea for this project | ||
title: "[\U0001F680] " | ||
labels: feature, triage | ||
assignees: Nek-12 | ||
|
||
--- | ||
|
||
### Description (required) | ||
<sup>describe what you are trying to solve and what is missing</sup> | ||
|
||
--- | ||
|
||
<details> | ||
<summary>Relevant code (if applicable):</summary> | ||
|
||
```kotlin | ||
|
||
``` | ||
|
||
</details> | ||
|
||
--- | ||
|
||
- [ ] This issue hasn't been reported already |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
name: Something else | ||
about: Ask a question, request documentation, or something else | ||
title: "[❔] " | ||
labels: question, triage | ||
assignees: Nek-12 | ||
|
||
--- | ||
|
||
--- | ||
|
||
- [ ] This question or issue hasn't been asked or reported already via Discussions or Issues |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
{ | ||
"template" : "#{{CHANGELOG}}", | ||
"pr_template" : "- #{{TITLE_ONLY}}", | ||
"trim_values" : true, | ||
"categories" : [ | ||
{ | ||
"title" : "## 🚀 New Features", | ||
"labels" : [ | ||
"feat", | ||
"feature" | ||
] | ||
}, | ||
{ | ||
"title" : "## 🧨 Api Changes", | ||
"labels" : [ | ||
"feat!", | ||
"breaking", | ||
"api" | ||
] | ||
}, | ||
{ | ||
"title" : "## 🐞 Bug Fixes", | ||
"labels" : [ | ||
"fix", | ||
"bug" | ||
] | ||
}, | ||
{ | ||
"title" : "## ❔ Other", | ||
"labels" : [] | ||
}, | ||
{ | ||
"title" : "## 📚 Docs", | ||
"labels" : [ | ||
"doc", | ||
"docs" | ||
] | ||
} | ||
], | ||
"custom_placeholders" : [ | ||
{ | ||
"name" : "TITLE_ONLY", | ||
"source" : "TITLE", | ||
"transformer" : { | ||
"method" : "regexr", | ||
"pattern" : "(\\w+(\\(.+\\))?: ?)?(.+)", | ||
"target" : "$2" | ||
} | ||
} | ||
], | ||
"label_extractor" : [ | ||
{ | ||
"pattern" : "^(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test){1}(\\([\\w\\-\\.]+\\))?(!)?: ([\\w ])+([\\s\\S]*)", | ||
"target" : "$1" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: "github-actions" # See documentation for possible values | ||
directory: "/" # Location of package manifests | ||
schedule: | ||
interval: "weekly" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name: Assign self to PR | ||
|
||
on: | ||
pull_request: | ||
types: [ opened ] | ||
branches: | ||
- master | ||
- main | ||
|
||
jobs: | ||
assign_author: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: samspills/[email protected] | ||
with: | ||
repo-token: '${{ secrets.GITHUB_TOKEN }}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: Auto-tag | ||
on: | ||
pull_request: | ||
types: | ||
- closed | ||
branches: | ||
- master | ||
|
||
jobs: | ||
build: | ||
if: github.event.pull_request.merged == true && contains(github.event.pull_request.labels.*.name, 'autorelease') | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ github.event.pull_request.merge_commit_sha }} | ||
fetch-depth: '0' | ||
|
||
- name: Bump version and push tag | ||
uses: anothrNick/github-tag-action@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.OPENSOURCE_PAT }} # Use PAT to trigger workflows | ||
CUSTOM_TAG: ${{ github.event.pull_request.title }} | ||
WITH_V: false | ||
PRERELEASE: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: publish | ||
name: Publishing | ||
|
||
on: | ||
push: | ||
|
@@ -12,15 +12,16 @@ concurrency: | |
jobs: | ||
publish: | ||
runs-on: macos-latest | ||
environment: publishing | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Copy CI gradle.properties | ||
run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties | ||
|
||
- name: set up JDK | ||
uses: actions/setup-java@v3 | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: 'zulu' | ||
check-latest: true | ||
|
@@ -43,4 +44,28 @@ jobs: | |
env: | ||
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.SIGNING_PASSWORD }} | ||
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.SIGNING_KEY }} | ||
run: ./gradlew publishAllPublicationsToSonatypeRepository --stacktrace | ||
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }} | ||
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }} | ||
# It's important to not upload in parallel or duplicate repos will be created | ||
# repository creds are broken with gradle 8.6 https://github.com/gradle/gradle/issues/24040 | ||
run: ./gradlew publishAllPublicationsToSonatypeRepository -Dorg.gradle.parallel=false --stacktrace --no-configuration-cache | ||
|
||
- name: Generate Changelog | ||
uses: mikepenz/release-changelog-builder-action@v4 | ||
id: build_changelog | ||
with: | ||
commitMode: true | ||
configuration: ".github/changelog_config.json" | ||
|
||
- name: Create GH release | ||
uses: ncipollo/[email protected] | ||
id: create_release | ||
with: | ||
draft: true | ||
artifactErrorsFailBuild: true | ||
prerelease: false | ||
artifacts: sample/build/outputs/apk/release/pro.respawn.flowmvi.sample.apk | ||
body: ${{steps.build_changelog.outputs.changelog}} | ||
tag: ${{ inputs.tag != '' && inputs.tag || github.ref_name }} | ||
env: | ||
GITHUB_TOKEN: ${{ github.token }} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.