Skip to content

Commit

Permalink
ci: fix release workflow to not fail if no Lambda annotations changes
Browse files Browse the repository at this point in the history
  • Loading branch information
philasmar committed Nov 1, 2024
1 parent d51554c commit 6db06d2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/create-release-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,12 @@ jobs:
run: |
dotnet build Libraries/Libraries.sln -c Release
git add "*.template"
git commit -m "Update test app CloudFormation templates"
if git diff --cached --quiet; then
echo "No .template files were staged; skipping commit."
else
git commit -m "Update test app CloudFormation templates"
fi
# Update the changelog based on the change files
- name: Update Changelog
run: autover changelog
Expand Down

0 comments on commit 6db06d2

Please sign in to comment.