Add list attribute support to map_group filter #26
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: version | |
on: | |
pull_request: | |
branches: | |
- master | |
jobs: | |
version: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Check if galaxy.yml has been modified | |
run: | | |
# Get a list of all modified files in this PR | |
FILES_CHANGED=$(git diff --name-only HEAD^ HEAD) | |
echo "Files changed: $FILES_CHANGED" | |
# Check if galaxy.yml is in the list of changed files | |
if [[ $FILES_CHANGED != *"galaxy.yml"* ]]; then | |
echo "Error: galaxy.yml has not been modified." | |
exit 1 | |
fi |