Skip to content

Commit

Permalink
Update delete.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
cvyl authored Nov 9, 2023
1 parent d855f4e commit c987480
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/delete.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ jobs:
comment=$(cut -d "|" -f 2 data.csv)
reason=$(cut -d "|" -f 1 data.csv)
domain=$(cut -d "|" -f 3 data.csv)
gh issue edit https://github.com/is-probably-gay/is-probably-gay/issues/${{ github.event.issue.number }} -t "🌈 Delete $domain" --add-label "domain delete"
gh issue edit https://github.com/lgbt-sh/lgbt-sh/issues/${{ github.event.issue.number }} -t "🌈 Delete $domain" --add-label "domain delete"
if [ "$reason" = "completed" ]
then
gh issue edit https://github.com/is-probably-gay/is-probably-gay/issues/${{ github.event.issue.number }} --add-label "success"
gh issue edit https://github.com/lgbt-sh/lgbt-sh/issues/${{ github.event.issue.number }} --add-label "success"
else
gh issue edit https://github.com/is-probably-gay/is-probably-gay/issues/${{ github.event.issue.number }} --add-label "failed"
gh issue edit https://github.com/lgbt-sh/lgbt-sh/issues/${{ github.event.issue.number }} --add-label "failed"
fi
gh issue close https://github.com/is-probably-gay/is-probably-gay/issues/${{ github.event.issue.number }} --comment "$comment" --reason "$reason"
gh issue close https://github.com/lgbt-sh/lgbt-sh/issues/${{ github.event.issue.number }} --comment "$comment" --reason "$reason"

0 comments on commit c987480

Please sign in to comment.