summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorMatan Kushner <hello@matchai.dev>2020-01-20 13:02:26 -0500
committerMatan Kushner <hello@matchai.dev>2020-01-20 13:06:34 -0500
commitaa3746fdbffed78eabb1c9a355e01227af2efc5b (patch)
treeb1c7a50aa0e95e124ab79f0396fcbc6f6466ab69 /.github
parent754c3292eed751e806407b488ed9a91e9ec846c2 (diff)
ci: Remove changelog generation
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/generate-changelog.yml38
1 files changed, 0 insertions, 38 deletions
diff --git a/.github/workflows/generate-changelog.yml b/.github/workflows/generate-changelog.yml
deleted file mode 100644
index 29bd91290..000000000
--- a/.github/workflows/generate-changelog.yml
+++ /dev/null
@@ -1,38 +0,0 @@
-name: Generate changelog
-on:
- push:
- branches:
- - master
-
-jobs:
- # Generate a changelog
- changelog:
- name: Generate CHANGELOG.md
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v2
-
- - name: Fetch all tags
- run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
-
- - name: Generate changelog file
- run: |
- # Temporary fix for https://github.com/actions/setup-go/issues/14
- export PATH=$PATH:$(go env GOPATH)/bin
- go get -u github.com/git-chglog/git-chglog/cmd/git-chglog
- git-chglog -c .github/chglog/changelog.yml > CHANGELOG.md
-
- - name: Push to GitHub
- run: |
- remote_repo="https://starship-bot:${CHANGELOG_GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git"
- git config user.name "Starship Bot"
- git config user.email "bot@starship.rs"
- git remote add publisher "${remote_repo}"
- git show-ref # useful for debugging
- git branch --verbose
-
- git checkout master
- git add -A
- git commit -m "Update CHANGELOG.md [${GITHUB_SHA}]"
- git pull --rebase publisher master
- git push publisher master