Skip to content

Commit

Permalink
Merge branch 'canary' into 05-15-implement_unstable_rethrow
Browse files Browse the repository at this point in the history
  • Loading branch information
ztanner authored May 21, 2024
2 parents 66c96d9 + 9d70996 commit 7017112
Show file tree
Hide file tree
Showing 485 changed files with 17,389 additions and 7,657 deletions.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .github/actions/next-repo-info/dist/issues/index.mjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .github/actions/next-repo-info/dist/prs/index.mjs

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ async function run() {

await slackClient.chat.postMessage({
blocks: generateBlocks(items),
channel: '#team-next-js',
channel: '#next-info',
icon_emoji: ':github:',
username: 'GitHub Notifier',
})
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/next-repo-info/src/popular-issues.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ async function run() {

await slackClient.chat.postMessage({
blocks: generateBlocks(data.items),
channel: '#team-next-js',
channel: '#next-info',
icon_emoji: ':github:',
username: 'GitHub Notifier',
})
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/next-repo-info/src/popular-prs.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ async function run() {
if (data.items.length > 0) {
await slackClient.chat.postMessage({
blocks: generateBlocks(data.items),
channel: '#team-next-js',
channel: '#next-info',
icon_emoji: ':github:',
username: 'GitHub Notifier',
})
Expand Down
14 changes: 14 additions & 0 deletions .husky/pre-push
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/usr/bin/env bash

main_branch="canary"

branch="$(git rev-parse --abbrev-ref HEAD)"

if [ "$branch" = "$main_branch" ]; then
echo "You probably didn't intend to push directly to '$main_branch'." >&2
echo "If you're sure that that's what you want to do, bypass this check via" >&2
echo "" >&2
echo " git push --no-verify" >&2
echo "" >&2
exit 1
fi
Loading

0 comments on commit 7017112

Please sign in to comment.