Removing comments.
This commit is contained in:
@@ -37,21 +37,6 @@ jobs:
|
|||||||
echo "Creating PR for branch: ${{ github.ref_name }}"
|
echo "Creating PR for branch: ${{ github.ref_name }}"
|
||||||
tea pr c -r ${{ github.repository }} -t "Automated PR for ${{ github.ref_name }}" -d "Automatically created PR for branch: ${{ github.ref_name }}" -a ${{ github.actor }}
|
tea pr c -r ${{ github.repository }} -t "Automated PR for ${{ github.ref_name }}" -d "Automatically created PR for branch: ${{ github.ref_name }}" -a ${{ github.actor }}
|
||||||
|
|
||||||
# echo "Checking if any open PRs exist for branch: ${{ github.ref_name }}"
|
|
||||||
# PR_STATE=$(tea pr ls --repo "${{ github.repository }}" --state all --fields index,title,head,state --output csv | grep "${{ github.ref_name }}") | head -1 | awk -F',' '{print $4}' | tr -d '"'
|
|
||||||
# echo "PR_STATE: $PR_STATE"
|
|
||||||
# PR_EXISTS=$(echo "$PR_STATE" | wc -l)
|
|
||||||
|
|
||||||
# if [ "$PR_EXISTS" -ge 1 ]; then
|
|
||||||
# echo "PR exists, skipping creation..."
|
|
||||||
# elif [ "$PR_EXISTS" -eq 0 ]; then
|
|
||||||
# echo "PR does not exist, creating PR..."
|
|
||||||
# tea pr c -r "${{ github.repository }}" -t "Automated PR for ${{ github.ref_name }}" -d "Automated PR for ${{ github.ref_name }}"
|
|
||||||
# else
|
|
||||||
# echo "Error determining PR status. Exiting..."
|
|
||||||
# exit 1
|
|
||||||
# fi
|
|
||||||
|
|
||||||
docker-compose-test:
|
docker-compose-test:
|
||||||
name: Docker Compose Test
|
name: Docker Compose Test
|
||||||
needs: [check-and-create-pr]
|
needs: [check-and-create-pr]
|
||||||
|
|||||||
Reference in New Issue
Block a user