-
-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into cross-sim-name
- Loading branch information
Showing
23 changed files
with
1,225 additions
and
799 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,14 @@ | ||
name: 'Auto Author Assign' | ||
|
||
on: | ||
pull_request_target: | ||
types: [opened, reopened] | ||
|
||
permissions: | ||
pull-requests: write | ||
|
||
jobs: | ||
assign-author: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: toshimaru/[email protected] |
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,43 @@ | ||
name: default | ||
|
||
on: | ||
push: | ||
paths: | ||
- 'app/src/**' | ||
pull_request: | ||
paths: | ||
- 'app/src/**' | ||
permissions: | ||
pull-requests: write | ||
|
||
jobs: | ||
build-debug-apk: | ||
needs: [lint] | ||
if: github.event_name == 'pull_request' | ||
uses: ./.github/workflows/build-apk.yml | ||
with: | ||
build-type: debug | ||
secrets: | ||
key-alias: ${{ secrets.DEBUG_KEY_ALIAS }} | ||
keystore: ${{ secrets.DEBUG_KEYSTORE_B64 }} | ||
key-password: ${{ secrets.DEBUG_KEY_PASSWORD }} | ||
post-apk-link: | ||
needs: [build-debug-apk] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Post link to action run detail page | ||
uses: actions/github-script@v6 | ||
with: | ||
script: | | ||
try { | ||
const commentResult = await github.rest.issues.createComment({ | ||
issue_number: context.issue.number, | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
body: `APK build completed! Visit [action run detail page](https://github.com/${context.repo.owner}/${context.repo.repo}/actions/runs/${context.runId}) to download the APK to test this pull request.` | ||
}) | ||
console.log(commentResult) | ||
} catch (e) { | ||
console.log("Comment not posted:") | ||
console.log(e) | ||
} |
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.