Skip to content

Commit e5b1dfd

Browse files
committed
init
0 parents  commit e5b1dfd

File tree

1,634 files changed

+385948
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,634 files changed

+385948
-0
lines changed

.dockerignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
doc
2+
**target*
3+
.idea/
4+
Dockerfile
5+
.dockerignore
6+
.local

.editorconfig

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
root = true
2+
[*]
3+
indent_style=tab
4+
indent_size=tab
5+
tab_width=4
6+
end_of_line=lf
7+
charset=utf-8
8+
trim_trailing_whitespace=true
9+
max_line_length=100
10+
insert_final_newline=true
11+
12+
[*.yml]
13+
indent_style=space
14+
indent_size=2
15+
tab_width=8
16+
end_of_line=lf
17+
18+
[*.sh]
19+
indent_style=space
20+
indent_size=2
21+
tab_width=8
22+
end_of_line=lf

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Cargo.lock linguist-generated=true

.github/allowed-actions.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// This is a whitelist of GitHub Actions that are approved for use in this project.
2+
// If a new or existing workflow file is updated to use an action or action version
3+
// not listed here, CI will fail.
4+
5+
module.exports = [
6+
'gaurav-nelson/github-action-markdown-link-check@7481451f70251762f149d69596e3e276ebf2b236', // gaurav-nelson/[email protected]
7+
]

.github/dependabot.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "cargo"
4+
directory: "/"
5+
labels: ["A2-insubstantial", "B0-silent", "C1-low"]
6+
schedule:
7+
interval: "daily"
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# If the author of the issues is not a contributor to the project, label
2+
# the issue with 'Z0-unconfirmed'
3+
4+
name: Label New Issues
5+
on:
6+
issues:
7+
types: [opened]
8+
9+
jobs:
10+
label-new-issues:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Label drafts
14+
uses: andymckay/labeler@master
15+
if: github.event.issue.author_association == 'NONE'
16+
with:
17+
add-labels: 'Z0-unconfirmed'
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Label PRs
2+
on:
3+
pull_request:
4+
types: [opened,ready_for_review]
5+
6+
jobs:
7+
label-new-prs:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Label drafts
11+
uses: andymckay/labeler@master
12+
if: github.event.pull_request.draft == true
13+
with:
14+
add-labels: 'A3-inprogress'
15+
remove-labels: 'A0-pleasereview'
16+
- name: Label PRs
17+
uses: andymckay/labeler@master
18+
if: github.event.pull_request.draft == false && ! contains(github.event.pull_request.labels.*.name, 'A2-insubstantial')
19+
with:
20+
add-labels: 'A0-pleasereview'
21+
remove-labels: 'A3-inprogress'
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Notify devops when burn-in label applied
2+
on:
3+
pull_request:
4+
types: [labeled]
5+
6+
jobs:
7+
notify-devops:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Notify devops
11+
if: github.event.label.name == 'A1-needsburnin'
12+
uses: s3krit/[email protected]
13+
with:
14+
room_id: ${{ secrets.POLKADOT_DEVOPS_MATRIX_ROOM_ID }}
15+
access_token: ${{ secrets.POLKADOT_DEVOPS_MATRIX_ACCESS_TOKEN }}
16+
message: "@room Burn-in request received for [${{ github.event.pull_request.title }}](${{ github.event.pull_request.html_url }})"
17+
server: "matrix.parity.io"
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Check Links
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- master
7+
push:
8+
branches:
9+
- master
10+
11+
jobs:
12+
markdown-link-check:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v2
16+
- uses: gaurav-nelson/github-action-markdown-link-check@7481451f70251762f149d69596e3e276ebf2b236
17+
with:
18+
use-quiet-mode: 'yes'
19+
config-file: '.github/workflows/mlc_config.json'

.github/workflows/mlc_config.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"ignorePatterns": [
3+
{
4+
"pattern": "^https://crates.io",
5+
}
6+
]
7+
}

0 commit comments

Comments
 (0)