Skip to content

Commit 2d3e306

Browse files
committed
fix: remove dev container thumbs down
1 parent 656395c commit 2d3e306

File tree

1 file changed

+1
-21
lines changed

1 file changed

+1
-21
lines changed

.github/workflows/dev-preview.yml

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -103,24 +103,4 @@ jobs:
103103
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
104104
PR_NUMBER: ${{ github.event.issue.number }}
105105
NODE_ID: ${{ github.event.comment.node_id }}
106-
107-
notify-job:
108-
runs-on: ubuntu-22.04
109-
needs: [build-and-push-dev-container]
110-
if: ${{ always() && contains(needs.*.result, 'failure') }} <-- check that status of the previous job
111-
steps:
112-
- name: Notify on Failure
113-
run: |
114-
gh api graphql --silent --raw-field query="mutation AddReaction {addReaction(input:{subjectId:\"$NODE_ID\",content:THUMBS_DOWN}){reaction{content}subject{id}}}"
115-
gh api graphql --silent --raw-field query="mutation RemoveReaction {removeReaction(input:{subjectId:\"$NODE_ID\",content:EYES}){reaction{content}subject{id}}}"
116-
(
117-
echo "**${{ github.workflow }}**"
118-
echo "**Something went wrong!**"
119-
echo
120-
echo "**Details:** ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
121-
) | \
122-
gh pr comment "${PR_NUMBER}" --repo ${{ github.repository }} -F -
123-
env:
124-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
125-
PR_NUMBER: ${{ github.event.issue.number }}
126-
NODE_ID: ${{ github.event.comment.node_id }}
106+

0 commit comments

Comments
 (0)