Skip to content

Commit

Permalink
small tweak 3
Browse files Browse the repository at this point in the history
  • Loading branch information
mjhilton committed Dec 12, 2024
1 parent 5f78391 commit 85c1f8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/prevent-new-sdk-additions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ jobs:
run: |
git diff --name-status origin/main..${{ vars.GITHUB_REF }} | grep '^A' | grep '^A\s\+octopusdeploy/' > new_files.txt || true
if [ -s new_files.txt ]; then
echo "::error::New files were found in the 'octopusdeploy/' directory:"
echo "::error::New files were found in the 'octopusdeploy/' directory."
cat new_files.txt
echo "We are no longer creating new Terraform SDK resources or datasources. Anything new should be added using Terraform Framework in the 'octopusdeploy_framework' folder instead."
exit 1
else
echo "::notice:: No new files detected in the 'octopusdeploy/' directory."
echo "::notice::No new files detected in the 'octopusdeploy/' directory."
fi

0 comments on commit 85c1f8d

Please sign in to comment.