-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from joshuadanpeterson/center_cursor_fix
Fix `$` Command Issue in Normal Mode
- Loading branch information
Showing
4 changed files
with
20 additions
and
37 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 |
---|---|---|
@@ -1,43 +1,38 @@ | ||
name: Generate Changelog | ||
|
||
on: | ||
push: | ||
tags: | ||
- "v*.*.*" # This will trigger on version tags like v0.0.1, v0.1.0, v1.0.0, etc. | ||
workflow_dispatch: # This allows manual triggering of the workflow from the GitHub Actions tab. | ||
|
||
- "v*.*.*" | ||
workflow_dispatch: | ||
permissions: | ||
contents: write | ||
|
||
jobs: | ||
generate-changelog: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 # Updated to use Node.js 20 | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Set up Ruby | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: "3.0" # Specify the version of Ruby | ||
ruby-version: "3.0" | ||
|
||
- name: Install github_changelog_generator | ||
run: gem install github_changelog_generator | ||
|
||
- name: Update remote URL | ||
run: git remote set-url origin https://github.com/joshuadanpeterson/typewriter.nvim.git | ||
|
||
- name: Generate Changelog | ||
run: | | ||
github_changelog_generator --user joshuadanpeterson --project typewriter.nvim --token ${{ secrets.GITHUB_TOKEN }} | ||
- name: Commit and push changelog | ||
run: | | ||
git config --global user.name 'Josh Peterson' | ||
git config --global user.email 'joshuadanpeterson@gmail.com' | ||
git config --local user.name 'GitHub Action' | ||
git config --local user.email 'action@github.com' | ||
git add CHANGELOG.md | ||
git commit -m 'Update changelog' | ||
git push origin HEAD:${{ github.event.repository.default_branch }} | ||
git commit -m 'Update changelog' || echo "No changes to commit" | ||
git push | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
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
This file was deleted.
Oops, something went wrong.
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