This repository has been archived by the owner on Oct 22, 2024. It is now read-only.
forked from paritytech/polkadot-sdk
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into polkadot-native-assets
- Loading branch information
Showing
6 changed files
with
971 additions
and
861 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 |
---|---|---|
|
@@ -27,15 +27,24 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Generate token | ||
id: generate_token | ||
uses: tibdex/[email protected] | ||
with: | ||
app_id: ${{ secrets.CMD_BOT_APP_ID }} | ||
private_key: ${{ secrets.CMD_BOT_APP_KEY }} | ||
|
||
- name: Create backport pull requests | ||
uses: korthout/backport-action@v3 | ||
id: backport | ||
with: | ||
target_branches: stable2407 stable2409 | ||
merge_commits: skip | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
github_token: ${{ steps.generate_token.outputs.token }} | ||
pull_description: | | ||
Backport #${pull_number} into `${target_branch}` (cc @${pull_author}). | ||
Backport #${pull_number} into `${target_branch}` from ${pull_author}. | ||
See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. | ||
<!-- | ||
# To be used by other automation, do not modify: | ||
|
@@ -47,6 +56,7 @@ jobs: | |
{ | ||
"conflict_resolution": "draft_commit_conflicts" | ||
} | ||
copy_assignees: true | ||
|
||
- name: Label Backports | ||
if: ${{ steps.backport.outputs.created_pull_numbers != '' }} | ||
|
@@ -64,3 +74,21 @@ jobs: | |
}); | ||
console.log(`Added A3-backport label to PR #${pullNumber}`); | ||
} | ||
- name: Request Review | ||
if: ${{ steps.backport.outputs.created_pull_numbers != '' }} | ||
uses: actions/github-script@v7 | ||
with: | ||
script: | | ||
const pullNumbers = '${{ steps.backport.outputs.created_pull_numbers }}'.split(' '); | ||
const reviewer = '${{ github.event.pull_request.user.login }}'; | ||
for (const pullNumber of pullNumbers) { | ||
await github.pulls.createReviewRequest({ | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
pull_number: parseInt(pullNumber), | ||
reviewers: [ reviewer ] | ||
}); | ||
console.log(`Requested review from ${reviewer} for PR #${pullNumber}`); | ||
} |
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,11 @@ | ||
title: Syncing strategy refactoring | ||
|
||
doc: | ||
- audience: Node Dev | ||
description: | | ||
Mostly internal changes to syncing strategies that is a step towards making them configurable/extensible in the | ||
future. It is unlikely that external developers will need to change their code. | ||
|
||
crates: | ||
- name: sc-network-sync | ||
bump: major |
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.