[DEV-2058] Fix webinar slug validation (#1271) #512
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: Changelog | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- .changeset/** # Only on changes to ./changeset/* | |
concurrency: ${{ github.workflow }}-${{ github.ref }} | |
jobs: | |
changelog: | |
name: Update CHANGELOG | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
with: | |
# https://github.com/actions/checkout/issues/1471#issuecomment-1771231294 | |
fetch-tags: 'true' | |
fetch-depth: 0 | |
- name: Setup Node.JS | |
uses: ./.github/actions/setup-node | |
- name: Install dependencies | |
run: npm ci --audit=false --fund=false | |
- name: Configure Git | |
run: | | |
git config --global user.email "[email protected]" | |
git config --global user.name "devportal-portalsandtools-github-bot" | |
- name: Create PR for next release | |
uses: changesets/action@f13b1baaa620fde937751f5d2c3572b9da32af23 # v1.4.5 | |
with: | |
# Note: `npm i` after versioning is necessary to refresh package-lock.json file with new version | |
version: npm run version | |
publish: npm run tag | |
commit: "Update CHANGELOG and prepare next release" | |
title: ${{ vars.CHANGESET_PR_TITLE }} | |
createGithubReleases: false | |
setupGitUser: false | |
env: | |
GITHUB_TOKEN: ${{ secrets.TAG_GITHUB_PAT }} |