Skip to content

Commit

Permalink
Add workflow to test the makefile for missing targets
Browse files Browse the repository at this point in the history
This would trigger if an external chart is added to the main branch without a simple way to update it
  • Loading branch information
Bdegraaf1234 committed Jul 10, 2024
1 parent 112ba3e commit 326da2f
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/check-missing-update-targets.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Check Missing Update Targets

on:
pull_request:
branches:
- main

jobs:
check-missing-update-targets:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup Make
run: sudo apt-get install make

- name: Run make list-missing-update-targets
id: check
run: |
OUTPUT=$(make list-missing-update-targets)
if [ -n "$OUTPUT" ]; then
echo "Missing update targets detected:"
echo "$OUTPUT"
exit 1
fi

0 comments on commit 326da2f

Please sign in to comment.