Skip to content

fix(p0): resolve 6 workflow inconsistencies from audit #44

fix(p0): resolve 6 workflow inconsistencies from audit

fix(p0): resolve 6 workflow inconsistencies from audit #44

Workflow file for this run

name: Generate Changelog
on:
push:
branches: [main]
tags: ['v*']
permissions:
contents: write
jobs:
changelog:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: .ruby-version
bundler-cache: false
- name: Generate CHANGELOG.md
run: ruby bin/changelog
- name: Commit and push if changed
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git add CHANGELOG.md
git diff --staged --quiet || git commit -m "docs: update CHANGELOG.md [skip ci]"
git push