|
|
@ -2,24 +2,26 @@ name: Changelog in sync for packages
|
|
|
|
|
|
|
|
|
|
|
|
on:
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
push:
|
|
|
|
branches-ignore:
|
|
|
|
branches:
|
|
|
|
- "l10n_master"
|
|
|
|
- master
|
|
|
|
- "dependabot/**"
|
|
|
|
pull_request:
|
|
|
|
jobs:
|
|
|
|
jobs:
|
|
|
|
test:
|
|
|
|
test:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v1
|
|
|
|
- uses: actions/checkout@v1
|
|
|
|
|
|
|
|
|
|
|
|
- name: Setup Node.js 14.x
|
|
|
|
- name: Setup Node.js 14.x
|
|
|
|
uses: actions/setup-node@v1
|
|
|
|
uses: actions/setup-node@v1
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
node-version: 14.x
|
|
|
|
node-version: 14.x
|
|
|
|
|
|
|
|
|
|
|
|
- name: Install and run changelog check
|
|
|
|
- name: Install and run changelog check
|
|
|
|
run: |
|
|
|
|
run:
|
|
|
|
npm ci
|
|
|
|
if [[ $GITHUB_HEAD_REF =~ dependabot || $GITHUB_HEAD_REF == "l10n_master" ]]; then
|
|
|
|
npm run changelog:check
|
|
|
|
echo "Skipping running changelog check";
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
npm ci;
|
|
|
|
|
|
|
|
npm run changelog:check;
|
|
|
|
|
|
|
|
fi
|
|
|
|
env:
|
|
|
|
env:
|
|
|
|
CI: true
|
|
|
|
CI: true
|
|
|
|