-
Notifications
You must be signed in to change notification settings - Fork 300
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name: Merge Crowdin PR | ||
on: | ||
check_suite: | ||
types: [completed] | ||
|
||
jobs: | ||
auto-merge: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: auto-merge | ||
if: github.event.check_suite.conclusion == "success" && github.event.check_suite.pull_requests != "" && contains(github.event.check_suite.pull_requests[0].head.ref, 'l10n') | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
PR: ${{ github.event.check_suite.pull_requests[0].number }} | ||
run: | | ||
gh pr merge $PR -s --admin |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
name: "PR | Checklist" | ||
on: | ||
pull_request: | ||
branches: | ||
- develop | ||
types: [opened, reopened] | ||
|
||
jobs: | ||
comment-on-pr: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
ref: ${{ github.event.pull_request.head.sha }} | ||
repository: ${{github.event.pull_request.head.repo.full_name}} | ||
persist-credentials: false | ||
- name: comment on PR (support and bugfix branches) | ||
if: contains(github.head_ref, 'support/') || contains(github.head_ref, 'bugfix/') | ||
uses: actions/github-script@v6 | ||
with: | ||
script: | | ||
await github.rest.issues.createComment({ | ||
owner: "LedgerHQ", | ||
repo: "ledger-live-desktop", | ||
issue_number: "${{ github.event.pull_request.number }}", | ||
body: ` | ||
Thanks for your contribution. | ||
To be able to merge in _develop_ branch, you need to: | ||
- [ ] pass the CI | ||
- [ ] if needed, run \`/generate-screenshots\` | ||
- [ ] have a dev review | ||
- [ ] have a QA review | ||
- [ ] if needed, \`/upgrade-llc\` | ||
### Why /generate-screenshots ? | ||
If your PR contains UI related changes, | ||
it might be necessary to regenerate screenshots. | ||
### Why /upgrade-llc ? | ||
If your PR requires an update to the ledger-live-common library, | ||
once the PR is merged on develop on ledger-live-common side, | ||
you need to run \`/upgrade-llc\` to switch back to ledger-live-common@develop here before merging. | ||
` | ||
}); | ||
- name: comment on PR (feature branches) | ||
if: contains(github.head_ref, 'feat/') | ||
uses: actions/github-script@v6 | ||
with: | ||
script: | | ||
await github.rest.issues.createCommitComment({ | ||
owner: "LedgerHQ", | ||
repo: "ledger-live-desktop", | ||
issue_number: "${{ github.event.pull_request.number }}", | ||
body: ` | ||
Thanks for your contribution. | ||
To be groomed for next release, you need to: | ||
- [ ] pass the CI | ||
- [ ] if needed, run \`/generate-screenshots\` | ||
- [ ] have a dev review | ||
- [ ] have a QA review | ||
### Why /generate-screenshots ? | ||
If your PR contains UI related changes, | ||
it might be necessary to regenerate screenshots. | ||
` | ||
}); |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,7 @@ setSupportedCurrencies([ | |
"ethereum", | ||
"bsc", | ||
"polkadot", | ||
"solana", | ||
"ripple", | ||
"litecoin", | ||
"polygon", | ||
|
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
203877f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lint outputs ✅
Tests outputs ✅
PASS src/generate-cryptoassets-md.test.js
Test Suites: 1 skipped, 1 passed, 1 of 2 total
Tests: 5 skipped, 1 passed, 6 total
Snapshots: 0 total
Time: 2.963 s
Test results written to: report.json
Diff output ❌