Updates for mapping editor (CMEM-5432) #1911
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: "CI_01: Convention tests" | |
on: | |
push: | |
branches-ignore: | |
- "develop" | |
- "main" | |
- "next" | |
- "legacy" | |
pull_request: | |
jobs: | |
test-branch-name: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Test branch name | |
# https://github.com/marketplace/actions/enforce-branch-name | |
uses: finleyfamily/action-enforce-branch-name@master | |
with: | |
regex: '([a-z])+\/([a-z]).([aA-zZ\.\-\d])+' | |
allowed_prefixes: "feature,release,fix,bugfix,hotfix,change,temp,dependabot" | |
exclude: "main,develop,next,legacy" | |
test-documentation: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@main | |
- name: Test existence of important files | |
# https://github.com/marketplace/actions/file-existence | |
id: check_files | |
uses: andstor/file-existence-action@main | |
with: | |
files: "package.json, LICENSE, README.md, CHANGELOG.md" | |
- name: 'Test for "## [Unreleased]" section in changelog' | |
if: steps.check_files.outputs.files_exists == 'true' | |
run: grep "## \[Unreleased\]" CHANGELOG.md |