.
This commit is contained in:
@@ -21,7 +21,7 @@ jobs:
|
||||
chmod +x /usr/local/bin/tea
|
||||
echo "Listing PRs..."
|
||||
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_state=$(tea pr ls --state all --fields index,state,head --output csv | head -2 | tail -1 | awk -F, '{print $2}' | sed -e 's|"||g')
|
||||
pr_state=$(tea pr ls --state all --fields index,state,head --output csv | head -2 | tail -1 | awk -F, '{print $2}')
|
||||
echo "PR state: $pr_state"
|
||||
|
||||
- name: Create PR
|
||||
|
||||
Reference in New Issue
Block a user