Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Commit 2eed07d

Browse files
committed
Merge branch 'master' into andre/fix-grandpa-commit-validation
2 parents 367174b + 8fe464b commit 2eed07d

File tree

935 files changed

+40275
-18645
lines changed

Some content is hidden

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

935 files changed

+40275
-18645
lines changed

.github/allowed-actions.js

Lines changed: 0 additions & 7 deletions
This file was deleted.

.github/dependabot.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,8 @@ updates:
55
labels: ["A2-insubstantial", "B0-silent", "C1-low 📌"]
66
schedule:
77
interval: "daily"
8+
- package-ecosystem: github-actions
9+
directory: '/'
10+
labels: ["A2-insubstantial", "B0-silent", "C1-low 📌", "E3-dependencies"]
11+
schedule:
12+
interval: daily

.github/pr-custom-review.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,22 @@ action-review-team: ci
66
rules:
77
- name: Core developers
88
check_type: changed_files
9-
condition: .*
9+
condition:
10+
include: .*
11+
# excluding files from 'CI team' rules
12+
exclude: ^\.gitlab-ci\.yml|^scripts/ci/.*|^\.github/.*
1013
min_approvals: 2
1114
teams:
1215
- core-devs
1316

17+
- name: CI team
18+
check_type: changed_files
19+
condition:
20+
include: ^\.gitlab-ci\.yml|^scripts/ci/.*|^\.github/.*
21+
min_approvals: 2
22+
teams:
23+
- ci
24+
1425
prevent-review-request:
1526
teams:
1627
- core-devs

.github/workflows/check-labels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
check-labels:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v2
11+
- uses: actions/checkout@v3
1212
with:
1313
fetch-depth: 0
1414
ref: ${{ github.event.pull_request.head.ref }}

.github/workflows/md-link-check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ jobs:
1212
markdown-link-check:
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v2
16-
- uses: gaurav-nelson/github-action-markdown-link-check@7481451f70251762f149d69596e3e276ebf2b236
15+
- uses: actions/checkout@v3
16+
- uses: gaurav-nelson/github-action-markdown-link-check@9710f0fec812ce0a3b98bef4c9d842fc1f39d976 # v1.0.13
1717
with:
1818
use-quiet-mode: 'yes'
1919
config-file: '.github/workflows/mlc_config.json'

.github/workflows/monthly-tag.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
echo "::set-output name=new::$(date +'monthly-%Y-%m')"
1717
echo "::set-output name=old::$(date -d'1 month ago' +'monthly-%Y-%m')"
1818
- name: Checkout branch "master"
19-
uses: actions/checkout@v2
19+
uses: actions/checkout@v3
2020
with:
2121
ref: 'master'
2222
fetch-depth: 0

.github/workflows/pr-custom-review.yml

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,32 @@ on:
1111
- synchronize
1212
- review_requested
1313
- review_request_removed
14+
- ready_for_review
15+
- converted_to_draft
1416
pull_request_review:
1517

1618
jobs:
1719
pr-custom-review:
1820
runs-on: ubuntu-latest
1921
steps:
22+
- name: Skip if pull request is in Draft
23+
# `if: github.event.pull_request.draft == true` should be kept here, at
24+
# the step level, rather than at the job level. The latter is not
25+
# recommended because when the PR is moved from "Draft" to "Ready to
26+
# review" the workflow will immediately be passing (since it was skipped),
27+
# even though it hasn't actually ran, since it takes a few seconds for
28+
# the workflow to start. This is also disclosed in:
29+
# https://github.amrom.workers.devmunity/t/dont-run-actions-on-draft-pull-requests/16817/17
30+
# That scenario would open an opportunity for the check to be bypassed:
31+
# 1. Get your PR approved
32+
# 2. Move it to Draft
33+
# 3. Push whatever commits you want
34+
# 4. Move it to "Ready for review"; now the workflow is passing (it was
35+
# skipped) and "Check reviews" is also passing (it won't be updated
36+
# until the workflow is finished)
37+
if: github.event.pull_request.draft == true
38+
run: exit 1
2039
- name: pr-custom-review
21-
uses: paritytech/pr-custom-review@v2
40+
uses: paritytech/pr-custom-review@action-v3
2241
with:
23-
token: ${{ secrets.PRCR_TOKEN }}
42+
checks-reviews-api: http://pcr.parity-prod.parity.io/api/v1/check_reviews

0 commit comments

Comments
 (0)