Skip to content

Commit

Permalink
feat(ci): Create ci-verify.yaml
Browse files Browse the repository at this point in the history
Signed-off-by: Anurag Rajawat <[email protected]>
  • Loading branch information
anurag-rajawat committed Dec 27, 2023
1 parent d9b6e99 commit dc7e693
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/ci-verify.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: CI-Verify

on:
push:
branches: [ main]
pull_request:
branches: [ main ]

jobs:
check-readme-updated:
runs-on: ubuntu-latest
steps:
- name: Checkout Source
uses: actions/checkout@v2

- name: Do Make
run: make
- name: Check if README.md is updated
run: |
git diff | cat
val=$(git diff | wc -l) && [[ $val -ne 0 ]] && echo "Changes not updated. Run make and raise PR with any modified/added files" && exit 1
echo "All Good" && exit 0

0 comments on commit dc7e693

Please sign in to comment.