ci: add git config #2
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
name: Prepare Release | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- master | |
permissions: | |
contents: read | |
pull-requests: write | |
jobs: | |
prepare-release: | |
if: "!contains(github.event.head_commit.message, 'chore: prepare releases')" # Skip merges from releases | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Setup Environment | |
run: | | |
rustup update stable | |
cargo install knope | |
git config --global user.name GitHub Actions | |
git config user.email [email protected] | |
- run: knope prepare-release --verbose |