-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: create changelog on new tag creation
- Loading branch information
1 parent
3a2e0b0
commit a556839
Showing
1 changed file
with
5 additions
and
31 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 |
---|---|---|
|
@@ -2,29 +2,16 @@ name: changelog | |
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
paths-ignore: | ||
- "README.md" | ||
- "CHANGELOG.md" | ||
- "renovate.json" | ||
pull_request: | ||
types: [opened, reopened] | ||
paths-ignore: | ||
- "README.md" | ||
- "CHANGELOG.md" | ||
- "renovate.json" | ||
tags: | ||
- '*' | ||
workflow_dispatch: | ||
inputs: | ||
tags: | ||
description: 'manual trigger' | ||
release: | ||
types: # This configuration does not affect the page_build event above | ||
- created | ||
# release: | ||
# types: # This configuration does not affect the page_build event above | ||
# - created | ||
|
||
# push: | ||
# tags: | ||
# - '*' | ||
env: | ||
isForkedRepository: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository }} | ||
BRANCH: main | ||
|
@@ -69,16 +56,3 @@ jobs: | |
add: CHANGELOG.md | ||
message: "chore: Update CHANGELOG.md [skip ci]" | ||
branch: main | ||
|
||
# - name: push | ||
# uses: github-actions-x/[email protected] | ||
# with: | ||
# github-token: ${{ secrets.GITHUB_TOKEN }} | ||
# name: ${{ secrets.GITHUB_USER }} | ||
# email: ${{ secrets.GITHUB_EMAIL }} | ||
# push-branch: ${{ env.BRANCH }} | ||
# commit-message: 'chore: Updated CHANGELOG.md [skip ci]' | ||
# force-add: 'true' | ||
# files: CHANGELOG.md | ||
# rebase: 'true' | ||
|