Skip to content

Commit

Permalink
remove broken and unused CI flows
Browse files Browse the repository at this point in the history
  • Loading branch information
jharrell committed Oct 18, 2024
1 parent 900b3c1 commit 8a769e5
Show file tree
Hide file tree
Showing 26 changed files with 0 additions and 912 deletions.
1 change: 0 additions & 1 deletion .github/prisma-version.txt

This file was deleted.

133 changes: 0 additions & 133 deletions .github/scripts/check-for-update.sh

This file was deleted.

32 changes: 0 additions & 32 deletions .github/scripts/patch-dev-for-latest.js

This file was deleted.

7 changes: 0 additions & 7 deletions .github/scripts/prisma-version.sh

This file was deleted.

19 changes: 0 additions & 19 deletions .github/scripts/slack-workflow-status.sh

This file was deleted.

34 changes: 0 additions & 34 deletions .github/scripts/sync.sh

This file was deleted.

18 changes: 0 additions & 18 deletions .github/scripts/test-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,24 +39,6 @@ if [ -f "$run_file" ]; then

if [ $code -ne 0 ]; then
echo "$(dirname "$item") failed"

if [ "$GITHUB_REF" = "refs/heads/latest" ] || [ "$GITHUB_REF" = "refs/heads/dev" ] || [ "$GITHUB_REF" = "refs/heads/patch-dev" ]; then
(cd .github/slack/ && yarn install --silent)

export webhook="$SLACK_WEBHOOK_URL_FAILING"

version="$(cat .github/prisma-version.txt)"
branch="$(git rev-parse --abbrev-ref HEAD)"
sha="$(git rev-parse HEAD)"
short_sha="$(echo "$sha" | cut -c -7)"
message="$(git log -1 --pretty=%B)"

commit_link="\`<https://github.com/prisma/prisma-examples/commit/$sha|$branch@$short_sha>\`"
workflow_link="<https://github.com/prisma/prisma-examples/actions/runs/$GITHUB_RUN_ID|$message>"

node .github/slack/notify.js "prisma@$version: $(dirname "$item") :x: $workflow_link (via $commit_link)"
fi

exit $code
fi
else
Expand Down
40 changes: 0 additions & 40 deletions .github/scripts/upgrade-all.sh

This file was deleted.

2 changes: 0 additions & 2 deletions .github/slack/.gitignore

This file was deleted.

23 changes: 0 additions & 23 deletions .github/slack/notify.js

This file was deleted.

16 changes: 0 additions & 16 deletions .github/slack/package.json

This file was deleted.

11 changes: 0 additions & 11 deletions .github/slack/post.js

This file was deleted.

Loading

0 comments on commit 8a769e5

Please sign in to comment.