Skip to content

Commit

Permalink
chore(github): unsplit
Browse files Browse the repository at this point in the history
  • Loading branch information
breakthewall committed Oct 7, 2021
1 parent 42a3ab5 commit 125e8b8
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 41 deletions.
41 changes: 0 additions & 41 deletions .github/workflows/changelog.yml

This file was deleted.

26 changes: 26 additions & 0 deletions .github/workflows/tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,29 @@ jobs:
body: ${{ steps.tag_version.outputs.changelog }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v2
with:
persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal access token.
fetch-depth: 0 # otherwise, there would be errors pushing refs to the destination repository.
- uses: actions/setup-ruby@v1
# with:
# ruby-version: '2.6' # Version range or exact version of a Ruby version to use, using semvers version range syntax.
- name: Generate CHANGELOG
env:
CHANGELOG_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gem install github_changelog_generator
github_changelog_generator -u brsynth -p brs-utils
- name: Commit files
run: |
git config --local user.email "$GITHUB_EMAIL"
git config --local user.name "$GITHUB_USERNAME"
git commit -m "doc(CHANGELOG): update" -a
env:
GITHUB_USERNAME: brsynth
GITHUB_EMAIL: [email protected]
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}

0 comments on commit 125e8b8

Please sign in to comment.