Skip to content

Commit

Permalink
fix: solve issue that auto-unreleased-commit feature is not working (#29
Browse files Browse the repository at this point in the history
)
  • Loading branch information
0xWOF authored Sep 30, 2024
2 parents c67e3d3 + 1938ffc commit 828945e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/gitflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -190,15 +190,17 @@ jobs:
ref: ${{ env.SOURCE_COMMIT }}
token: ${{ env.TOKEN }}

- name: Checkout commit
- name: Checkout branch and commit
run: |
git fetch origin ${{ env.SOURCE_BRANCH }} && git checkout ${{ env.SOURCE_BRANCH }} || :
git fetch origin ${{ env.SOURCE_COMMIT }} || :
git fetch origin ${{ env.DESTINATION_COMMIT }} || :
- name: Check feature branch
id: check-feature-branch
if: |
github.event.pull_request.merged != true
github.event.pull_request.action != 'closed'
&& github.event.pull_request.merged != true
&& steps.check-branch.outcome == 'success'
&& steps.check-branch.outputs.type == 'feature'
run: |
Expand Down Expand Up @@ -275,7 +277,8 @@ jobs:
- name: Check release branch
id: check-release-branch
if: |
github.event.pull_request.merged != true
github.event.pull_request.action != 'closed'
&& github.event.pull_request.merged != true
&& steps.check-branch.outcome == 'success'
&& steps.check-branch.outputs.type == 'release'
run: |
Expand Down
4 changes: 4 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 2.3.1

- fix: solve issue that auto-unreleased-commit feature is not working

## 2.3.0

- feature: add dependabot to default feature branches
Expand Down

0 comments on commit 828945e

Please sign in to comment.