Skip to content
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

Release: 10.9.1 #39

Open
wants to merge 25 commits into
base: release/10.9.0
Choose a base branch
from
30 changes: 30 additions & 0 deletions .github/workflows/update-milestone-after-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Update milestone after release
on:
push:
branches:
- trunk

jobs:
RandomTest:
runs-on: ubuntu-latest
steps:
- uses: octokit/request-action@v2.x
id: get_latest_release
with:
route: GET /repos/tarunvijwani/woocommerce-blocks/releases/latest
owner: octokit
repo: request-action
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: "echo Testing"
- uses: octokit/request-action@v2.x
id: get_milestone
with:
route: GET /repos/tarunvijwani/woocommerce-blocks/milestones/
owner: tarunvijwani
repo: woocommerce-blocks
state: open
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: "echo Testing"
- run: "echo latest release: ${{ fromJSON(steps.get_milestone.outputs.data) }}"
13 changes: 13 additions & 0 deletions .github/workflows/update-milestone-now.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Manual milestone update
on: workflow_dispatch

jobs:
RandomTest:
runs-on: ubuntu-latest
steps:
- name: Manually update milestone
uses: tarunvijwani/automations@trunk
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
automations: update-milestone
- run: "echo Testing"
4 changes: 4 additions & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,10 @@ Release and roadmap notes available on the [WooCommerce Developers Blog](https:/

== Changelog ==

= 10.9.1 - 2022-10-31 =

> Changelog Error: Changelog could not be generated because there is no milestone for the release branch that was pushed. Double-check the spelling on the release branch and ensure that you have a milestone corresponding to the version in the branch name. If you found the error, you can restart by deleting the branch and this pull and pushing a new branch.
> You'll need to edit this section manually
= 7.6.0 - 2022-05-09 =

#### Enhancements
Expand Down