Skip to content

Commit 1c21b8f

Browse files
authored
Hotfix v1.1.0-rc.2 (#29)
2 parents 0329be1 + b778030 commit 1c21b8f

File tree

5 files changed

+24
-2
lines changed

5 files changed

+24
-2
lines changed

.github/workflows/auto_merge_release_hotfix_into_develop.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ jobs:
2020
if: startsWith(github.head_ref, 'release/') || startsWith(github.head_ref, 'hotfix/')
2121

2222
steps:
23+
- name: Set GitHub token
24+
run: |
25+
echo "GH_TOKEN=${{ secrets.GH_TOKEN }}" >> $GITHUB_ENV
26+
2327
- name: Merge PR
2428
env:
2529
PR_NUMBER: ${{ github.event.number }}

.github/workflows/draft_release_hotfix_pr.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
run: |
7171
PR_LABELS="automated-pr,${RELEASE_TYPE}-pr"
7272
73-
[[ ${PRE_RELEASE:false} == "true" ]] && ( gh label create 'pre-release' --force && PR_LABELS="$PR_LABELS,pre-release" )
73+
[[ ${PRE_RELEASE:false} == "true" ]] && gh label create 'pre-release' --force && PR_LABELS="$PR_LABELS,pre-release"
7474
7575
for LABEL in $(echo $PR_LABELS | sed "s/,/ /g"); do gh label create $LABEL --force; done
7676

CHANGELOG.md

+11
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,17 @@
22

33
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5+
## [1.1.0-rc.2](https://github.com/ansidev/sample-gitflow-release-workflows/compare/v1.1.0-rc.1...v1.1.0-rc.2) (2023-02-14)
6+
7+
### Bug Fixes
8+
9+
* **workflow-auto-merge-release-hotfix-into-develop:** set environment variable `GH_TOKEN` ([5e57d0e](https://github.com/ansidev/sample-gitflow-release-workflows/commit/5e57d0e99cf383b1926b8d263a90c128009046e6))
10+
* **workflow-draft-release-hotfix-pr:** fix PR is missing label `pre-release` ([9c63f52](https://github.com/ansidev/sample-gitflow-release-workflows/commit/9c63f522430ddc3e689081f4df5345be5fdd3494))
11+
12+
### Documentations
13+
14+
* **readme:** add reference documentations ([3c310e3](https://github.com/ansidev/sample-gitflow-release-workflows/commit/3c310e3d591481b7c7d8daa748a8f838c0702dd5))
15+
516
## [1.1.0-rc.1](https://github.com/ansidev/sample-gitflow-release-workflows/compare/v1.1.0-rc.0...v1.1.0-rc.1) (2023-02-14)
617

718
### Features

README.md

+7
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,13 @@ Sample Gitflow release workflow using GitHub Actions and official [GitHub CLI](h
3636
| BRANCH_DEVELOP | The develop branch | `develop` |
3737
| TAG_PREFIX | The prefix for git tag | `v` |
3838

39+
**Note**: If you don't use the above default values, you have to update corresponding values for the workflow(s).
40+
41+
## Reference documentations
42+
43+
- [Events that trigger workflows](https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows).
44+
- [Webhook events and payloads](https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads).
45+
3946
## Contact
4047

4148
Le Minh Tri [@ansidev](https://ansidev.xyz/about).

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.1.0-rc.1
1+
1.1.0-rc.2

0 commit comments

Comments
 (0)