Skip to content

Update CHANGELOG

Update CHANGELOG #11

name: Update CHANGELOG
on:
workflow_dispatch:
schedule:
# Runs every Tuesday at 9 PM Pacific Time (5 AM UTC Wednesday)
- cron: '0 5 * * 3'
permissions:
contents: write
pull-requests: write
jobs:
update-changelog:
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Install roslyn-tools
run: dotnet tool install -g Microsoft.RoslynTools --prerelease --add-source https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-eng/nuget/v3/index.json
- name: Install NodeJS
uses: actions/setup-node@v4
with:
node-version: '20.x'
- name: Install dependencies
run: npm ci
- name: Update CHANGELOG
run: npx gulp updateChangelog
- name: Create update PR
uses: peter-evans/create-pull-request@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: Update ${{ github.ref_name }} CHANGELOG
title: '[automated] Update ${{ github.ref_name }} CHANGELOG'
branch: merge/update-${{ github.ref_name }}-changelog