Skip to content

Commit

Permalink
Clean code
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinEyo1 committed Mar 19, 2024
1 parent 726cde5 commit 5888f5f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 31 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pr-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ jobs:
echo "sum=$sum" >> $GITHUB_OUTPUT
if [[ "$sum" -eq 3 ]]; then
echo "3 here"
echo "message=$(echo "@${MERGE_AUTHOR} Each PR must have a SEMVER impact label, please label the PR properly.")" >> $GITHUB_OUTPUT
echo "message=$(echo "@${MERGE_AUTHOR} Each PR must have a SEMVER impact label, remember to label the PR properly.")" >> $GITHUB_OUTPUT
elif [[ "$sum" -le 1 ]]; then
echo "1 here"
echo "message=$(echo "@${MERGE_AUTHOR} Each PR can only have one SEMVER impact label, please label the PR properly.")" >> $GITHUB_OUTPUT
echo "message=$(echo "@${MERGE_AUTHOR} Each PR can only have one SEMVER impact label, remember to label the PR properly.")" >> $GITHUB_OUTPUT
else
echo "message=$(echo "SEMVER impact selected.")" >> $GITHUB_OUTPUT
echo "chosen_label=$(
Expand Down
1 change: 0 additions & 1 deletion delete.json

This file was deleted.

28 changes: 0 additions & 28 deletions delete.py

This file was deleted.

0 comments on commit 5888f5f

Please sign in to comment.