Skip to content

Commit

Permalink
fix: create changelog on new tag creation
Browse files Browse the repository at this point in the history
  • Loading branch information
ivankatliarchuk committed Apr 3, 2021
1 parent 3a2e0b0 commit a556839
Showing 1 changed file with 5 additions and 31 deletions.
36 changes: 5 additions & 31 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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'

0 comments on commit a556839

Please sign in to comment.