-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
create new GH issue for new polkadot release
- Loading branch information
Showing
3 changed files
with
56 additions
and
4 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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
title: Upgrade to Polkadot Release {{env.NEW_POLKADOT_RELEASE_VERSION}} | ||
labels: change/major | ||
--- | ||
|
||
The Parity team has published new version of Polkadot: `{{env.NEW_POLKADOT_RELEASE_VERSION}}` | ||
|
||
See {{env.RELEASE_PAGE_PREFIX_URL}}/{{env.NEW_POLKADOT_RELEASE_VERSION}} | ||
|
||
## Upgrade Priority | ||
|
||
See [Polkadot Release Page]({{env.RELEASE_PAGE_PREFIX_URL}}/{{env.NEW_POLKADOT_RELEASE_VERSION}}) | ||
|
||
## Host Functions | ||
|
||
See [Polkadot Release Page]({{env.RELEASE_PAGE_PREFIX_URL}}/{{env.NEW_POLKADOT_RELEASE_VERSION}}) | ||
|
||
## Database Migrations | ||
|
||
See [Polkadot Release Page]({{env.RELEASE_PAGE_PREFIX_URL}}/{{env.NEW_POLKADOT_RELEASE_VERSION}}) | ||
|
||
## Runtime Migrations | ||
|
||
See [Polkadot Release Page]({{env.RELEASE_PAGE_PREFIX_URL}}/{{env.NEW_POLKADOT_RELEASE_VERSION}}) |
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
26 changes: 26 additions & 0 deletions
26
.github/workflows/create-polkadot-release-upgrade-issue.yml
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,26 @@ | ||
name: Create Upgrade Issue for New Polkadot Release | ||
on: | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- .github/workflows/.polkadot-latest-full-release.txt | ||
env: | ||
RELEASE_PAGE_PREFIX_URL: https://github.com/paritytech/polkadot/releases/tag | ||
RELEASE_TRACK_FILENAME: .github/workflows/.polkadot-latest-full-release.txt | ||
jobs: | ||
create-issue: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Check Out Repo | ||
uses: actions/checkout@v3 | ||
- name: Set Env Vars | ||
run: | | ||
release_version=$(cat ${{env.RELEASE_TRACK_FILENAME}}) | ||
echo "NEW_POLKADOT_RELEASE_VERSION=$release_version" >> $GITHUB_ENV | ||
- name: Create GitHub Issue | ||
uses: JasonEtco/create-an-issue@e27dddc79c92bc6e4562f268fffa5ed752639abd | ||
env: | ||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | ||
with: | ||
filename: .github/issues/new-polkadot-release-template.md |