mirror of
https://github.com/danbulant/dribbblish-dynamic-theme
synced 2026-05-25 13:02:10 +00:00
28 lines
660 B
YAML
28 lines
660 B
YAML
name: Empty CHANGELOG.md
|
|
|
|
on:
|
|
release:
|
|
types: [published]
|
|
|
|
jobs:
|
|
empty-changelog:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
with:
|
|
ref: ${{ github.event.repository.default_branch }}
|
|
fetch-depth: 0
|
|
|
|
- name: Empty CHANGELOG.md
|
|
run: |
|
|
git config --global user.email "action@github.com"
|
|
git config --global user.name "github-actions"
|
|
|
|
rm CHANGELOG.md
|
|
touch CHANGELOG.md
|
|
|
|
git add CHANGELOG.md
|
|
git commit --allow-empty -m "Empty CHANGELOG.md after v$(git describe --tags --abbrev=0)"
|
|
git push
|