* Update test actions * Format stale issues * Format jira issues workflow * Format changelog check workflow * Format build workflows * Format create build Also add make full action to remove core installs * Format codeql analysis * Add .nvmrc * Update changelog * Add concurrency group to CodeQL * sudo install * Update to windows latest * Upgrade fedora distro list * Add arch to runtime matrix * Fix path for m1 builds * Add enterprise and business flags
42 lines
1.2 KiB
YAML
42 lines
1.2 KiB
YAML
# This workflow will triage pull requests and apply a label based on the
|
|
# paths that are modified in the pull request.
|
|
#
|
|
# To use this workflow, you will need to set up a .github/labeler.yml
|
|
# file with configuration. For more information, see:
|
|
# https://github.com/actions/labeler/blob/master/README.md
|
|
|
|
name: ChangeLog Updated
|
|
on:
|
|
pull_request:
|
|
branches: [master]
|
|
|
|
jobs:
|
|
check:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Get changed files
|
|
id: file_changes
|
|
uses: trilom/file-changes-action@v1.2.4
|
|
with:
|
|
output: ","
|
|
|
|
- name: echo changes
|
|
run: |
|
|
echo Files
|
|
echo '${{ steps.file_changes.outputs.files}}'
|
|
echo Modified
|
|
echo '${{ steps.file_changes.outputs.files_modified}}'
|
|
echo Added
|
|
echo '${{ steps.file_changes.outputs.files_added}}'
|
|
echo Removed
|
|
echo '${{ steps.file_changes.outputs.files_removed}}'
|
|
|
|
- name: List files
|
|
run: |
|
|
if [[ "${{ steps.file_changes.outputs.files_modified}}" == *"ChangeLog"* ]]; then
|
|
echo "ChangeLog has been updated"
|
|
else
|
|
echo "::error file=app.js,line=10,col=15::Changelog hasn't been updated"
|
|
exit 1
|
|
fi
|