fix(makefile): run and commit docs #40
Workflow file for this run
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
#Generate a new tag and changelog | |
name: "Proto version" | |
on: | |
pull_request: | |
branches: | |
- main | |
types: [closed] | |
permissions: | |
contents: write | |
jobs: | |
changelog-and-tag: | |
if: ${{!contains(github.head_ref, 'changelog')}} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
submodules: 'recursive' | |
fetch-tags: 'true' | |
fetch-depth: 0 | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Install protoc | |
uses: arduino/setup-protoc@v2 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Setup go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: '1.21' | |
- name: Install dependencies | |
run: | | |
go install github.com/git-chglog/git-chglog/cmd/git-chglog@latest | |
make plugin | |
- name: Building new version | |
run: | | |
git config user.name github-actions | |
git config user.email github-actions@github.com | |
make changelog |