forked from polkadot-js/apps
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from OnFinality-io/master
new veision
- Loading branch information
Showing
26 changed files
with
1,929 additions
and
230 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
title: Unavailable chain endpoints {{ date | date('ddd, MMM D YYYY, h:mm:ss a') }} | ||
labels: ['ci'] | ||
--- | ||
|
||
cc @polkadot-js/notifications | ||
|
||
Some configured endpoints are not available. | ||
|
||
Check the nightly cron output (or via `yarn ci:chainEndpoints` locally) and disable the chains (either with `isDisabled` or `isUnreachable`) until the issue is resolved. The output as found from the test includes: |
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,86 @@ | ||
<!-- | ||
For general support, howto, coding and bundling questions, please | ||
use the Substrate & Polkadot StackExchange at | ||
https://substrate.stackexchange.com/ | ||
and get other ecosystem developers involved. This issues in this | ||
repository are meant for the tracking of feature requests and bug | ||
reports. | ||
While all issues are looked at non-bug and non-features would take | ||
quite a bit longer to get to and may yield less than satisfactory | ||
responses in this format. | ||
Additionally, please ensure you have done a search on the existing | ||
and closed issues before logging a new request. This saves time on | ||
all sides. | ||
--> | ||
|
||
|
||
* **I'm submitting a ...** | ||
|
||
<!--- | ||
REQUIRED: | ||
Classify the type of report your are submitting | ||
--> | ||
|
||
- [ ] Bug report | ||
- [ ] Feature request | ||
- [ ] Support request | ||
- [ ] Other | ||
|
||
|
||
* **What is the current behavior and expected behavior?** | ||
|
||
<!--- | ||
REQUIRED: | ||
If you're describing a bug, tell us what should happen. If you're | ||
suggesting a change/improvement, tell us how it should work. | ||
--> | ||
|
||
|
||
* **What is the motivation for changing the behavior?** | ||
|
||
<!--- | ||
OPTIONAL: | ||
Suggest a motivation for the request or ideas how to implement the | ||
addition or change | ||
--> | ||
|
||
|
||
* **Please tell us about your environment:** | ||
|
||
<!--- | ||
REQUIRED: | ||
Include as many relevant details about the environment in which you | ||
experienced the issue. Also ensure that you have tested against the | ||
latest stable releases if you believe this to be a bug | ||
--> | ||
|
||
- Version: | ||
- Environment: | ||
|
||
- [ ] Node.js | ||
- [ ] Browser | ||
- [ ] Other (limited support for other environments) | ||
|
||
- Language: | ||
|
||
- [ ] JavaScript | ||
- [ ] TypeScript (include tsc --version) | ||
- [ ] Other |
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: bot | ||
|
||
on: | ||
pull_request: | ||
types: [labeled] | ||
|
||
jobs: | ||
approve: | ||
if: "! startsWith(github.event.head_commit.message, '[CI Skip]') && (!github.event.pull_request || github.event.pull_request.head.repo.full_name == github.repository)" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: jacogr/action-approve@795afd1dd096a2071d7ec98740661af4e853b7da | ||
with: | ||
authors: jacogr | ||
labels: -auto | ||
token: ${{ secrets.GH_PAT_BOT }} |
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: bot | ||
|
||
on: | ||
pull_request: | ||
types: [labeled] | ||
|
||
jobs: | ||
merge: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: jacogr/action-merge@d2d64b4545acd93b0a9575177d3d215ae3f92029 | ||
with: | ||
checks: pr (build:code),pr (build:i18n),pr (build:electron),pr (lint),pr (test) | ||
labels: -auto | ||
strategy: squash | ||
token: ${{ secrets.GH_PAT_BOT }} |
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,32 @@ | ||
name: Chain endpoints | ||
on: | ||
schedule: | ||
# twice daily (mornings/afternoons, the latter being busy) | ||
# - cron: '50 0/12 * * *' | ||
# once daily (early mornings, 02:50 GMT, generally not busy) | ||
- cron: '50 2 * * *' | ||
|
||
jobs: | ||
endpoints: | ||
if: github.repository == 'polkadot-js/apps' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 'lts/*' | ||
- name: check | ||
env: | ||
CI_LOG: 123 | ||
run: | | ||
yarn install --immutable | grep -v 'YN0013' | ||
yarn ci:chainEndpoints | ||
- name: issue | ||
if: ${{ failure() }} | ||
uses: JasonEtco/create-an-issue@e27dddc79c92bc6e4562f268fffa5ed752639abd | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GH_PAT_BOT }} | ||
with: | ||
filename: .github/chain-endpoints.md | ||
update_existing: true |
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,23 @@ | ||
name: 'Lock Threads' | ||
|
||
on: | ||
schedule: | ||
- cron: '15 2/3 * * *' | ||
|
||
jobs: | ||
lock: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: dessant/lock-threads@c1b35aecc5cdb1a34539d14196df55838bb2f836 | ||
with: | ||
github-token: ${{ secrets.GH_PAT_BOT }} | ||
issue-inactive-days: '7' | ||
issue-comment: > | ||
This thread has been automatically locked since there has not been | ||
any recent activity after it was closed. Please open a new issue | ||
if you think you have a related problem or query. | ||
pr-inactive-days: '2' | ||
pr-comment: > | ||
This pull request has been automatically locked since there | ||
has not been any recent activity after it was closed. | ||
Please open a new issue for related bugs. |
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
Oops, something went wrong.