docs: update ddev get
to ddev add-on get
in readme
#20
Workflow file for this run
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: Check for CHANGELOG.md Update | |
permissions: | |
contents: read | |
on: [pull_request] | |
jobs: | |
check-changelog: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the repository | |
uses: actions/checkout@v3 | |
- name: Get the list of modified files | |
id: changed-files | |
run: | | |
git fetch origin ${{ github.base_ref }} --depth=1 | |
git diff --name-only origin/${{ github.base_ref }} ${{ github.sha }} > changed_files.txt | |
cat changed_files.txt | |
- name: Check if CHANGELOG.md was updated | |
run: | | |
if ! grep -q "^CHANGELOG.md$" changed_files.txt; then | |
echo "::error::CHANGELOG.md was not updated!" | |
exit 1 | |
else | |
echo "CHANGELOG.md has been updated." | |
fi |