Skip to content

build(deps-dev): bump eslint from 8.52.0 to 8.53.0 #2613

build(deps-dev): bump eslint from 8.52.0 to 8.53.0

build(deps-dev): bump eslint from 8.52.0 to 8.53.0 #2613

Workflow file for this run

name: Changelog Generator
on:
pull_request:
branches: [ main ]
workflow_dispatch:
inputs:
publish:
description: 'Determine whether or not to commit changelog to repo on selected branch.'
required: true
default: "false"
permissions:
contents: read
jobs:
build:
permissions:
contents: write # for Git to git push
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@1b05615854632b887b69ae1be8cbefe72d3ae423 # v2.6.0
with:
egress-policy: audit
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
with:
fetch-depth: 0
- run: docker run -v $PWD:/workdir quay.io/git-chglog/git-chglog:0.15.1 --next-tag $(node --eval="process.stdout.write(require('./package.json').version)") --output CHANGELOG.md
- name: GitHub Upload Release Artifacts
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
with:
name: CHANGELOG.md
path: |
./CHANGELOG.md
# publish it
- name: Publish content
if: ${{ github.event.inputs.publish == 'true' }}
run: |
git config user.name github-actions
git config user.email [email protected]
git add ./CHANGELOG.md
git commit -m 'docs(changelog): update changelog'
git push origin ${GITHUB_REF##*/}