-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
create issue when polkadot release happens #1045
create issue when polkadot release happens #1045
Conversation
1bd3a2c
to
5cd03ef
Compare
5cd03ef
to
4e33974
Compare
@@ -1 +1 @@ | |||
v0.9.37 | |||
v0.9.36 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Setting this to previous full release, so I can test the update on main
via cron schedule.
name: Track Polkadot Releases | ||
on: | ||
schedule: | ||
- cron: "*/5 * * * *" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Setting cron to every 5 mins for testing on main
only. I will change it to once per day afterwords.
- cron: "*/5 * * * *" | ||
env: | ||
REPO_URL: https://api.github.com/repos/paritytech/polkadot | ||
RELEASE_TRACK_FILENAME: .github/workflows/.polkadot-latest-full-release.txt |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the file where we are going to track the latest Polkadot full release.
git config --global user.name 'Frequency CI' | ||
git config --global user.email '[email protected]' | ||
git commit -am "Record new Polkadot release version" | ||
git push origin |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I chose to commit directly to main
instead of creating PR because of:
- This is going to be a very simple one liner commit, i.e. updating
v<old.polkadot.version> -> v<new.polkadot.version>
- The commit will be scoped to
.github/workflows/.polkadot-latest-full-release.txt
file only and we don't have to rely on others to remember to merge the PR in timely manner.
@saraswatpuneet I am gonna go ahead and merge this one since it's part 1 of #930 and it's kinda holding me back. I can always adjust post-mortem if you find any issues. |
Goal
The goal of this PR is to record the latest Polkadot release version in frequency repo. It will trigger creating a new GitHub issue later in a different workflow.
Part of #930