Skip to content

Commit

Permalink
PMM-7 pass files list.
Browse files Browse the repository at this point in the history
  • Loading branch information
BupycHuk committed Mar 29, 2024
1 parent d367320 commit 39b043a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions .github/workflows/dashboard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,18 @@ jobs:
# python -m pip install --upgrade pip
# pip install -r requirements.txt

- name: Get list of changed files
id: getfile
run: |
echo "::set-output name=files::$(git diff --name-only -- 'dashboard/*' | xargs)"
- name: Run cleanup-dash.py on changed files
run: |
IFS=" " read -ra FILES <<< "${{ steps.getfile.outputs.files }}"
for file in "${FILES[@]}"; do
python cleanup-dash.py "$file"
done
- name: Run cleanup-dash.py
run: python misc/cleanup-dash.py

Expand Down
2 changes: 1 addition & 1 deletion dashboards/Experimental/pg-instance.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"enable": true,
"hide": false,
"iconColor": "#e0752d",
"iconColor": "#e0752e",
"limit": 100,
"matchAny": true,
"name": "PMM Annotations",
Expand Down

0 comments on commit 39b043a

Please sign in to comment.