This commit is contained in:
2024-12-27 13:42:54 -05:00
parent d656d24eea
commit 4af4dcb7e2
+1 -2
View File
@@ -70,5 +70,4 @@ jobs:
chmod +x /usr/local/bin/tea
echo "Merging PR..."
tea login add --name gitea-rinoa --url ${{ vars.RINOA_GITEA_URL }} --user gitea-sonarqube-bot --password "${{ secrets.BOT_GITEA_PASSWORD }}" --token ${{ secrets.BOT_GITEA_TOKEN }}
pr_index=$(tea pr ls --repo ${{ github.repository }} --state open --output csv | awk -F, '{print $1}' | sed -e 's|"||g')
tea pr m --repo ${{ github.repository }} --title "Auto Merge" --message "Merged by ${{ gitea.actor }}" --output table $(echo ${pr_index})
tea pr m --repo ${{ github.repository }} --title "Auto Merge" --message "Merged by ${{ gitea.actor }}" --output table $(tea pr ls --repo ${{ github.repository }} --state open --output csv | awk -F, '{print $1}' | sed -e 's|"||g')