Skip to content

Commit 63b13f6

Browse files
Add Workers Builds Notifications template (#873)
Co-authored-by: James Delorey <jdelorey@cloudflare.com>
1 parent 4fd1475 commit 63b13f6

File tree

17 files changed

+16232
-1
lines changed

17 files changed

+16232
-1
lines changed

pnpm-lock.yaml

Lines changed: 43 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

templates.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,9 @@
8686
},
8787
"microfrontend-template": {
8888
"package_json_hash": "2025452f6c9e9011a8ed2681ff2f348f4b16908c"
89+
},
90+
"workers-builds-notifications-template": {
91+
"package_json_hash": "dfb8694ab1e7792fa8000d70fa05fe9eac3804fa"
8992
}
9093
}
91-
}
94+
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Slack incoming webhook URL
2+
# Get this from: https://api.slack.com/apps → Your App → Incoming Webhooks
3+
SLACK_WEBHOOK_URL=https://hooks.slack.com/services/YOUR/WEBHOOK/URL
4+
5+
# Cloudflare API token
6+
# Create at: https://dash.cloudflare.com/profile/api-tokens
7+
# Select:
8+
# - **Edit Cloudflare Workers** template
9+
CLOUDFLARE_API_TOKEN=your-api-token-here
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Dependencies
2+
node_modules/
3+
4+
# Build output
5+
dist/
6+
7+
# Wrangler
8+
.wrangler/
9+
.dev.vars
10+
11+
# TypeScript
12+
*.tsbuildinfo
13+
14+
# Logs
15+
*.log
16+
npm-debug.log*
17+
18+
# IDE
19+
.vscode/
20+
.idea/
21+
22+
# OS
23+
.DS_Store
24+
Thumbs.db
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
Copyright (c) 2025 Cloudflare, Inc.
2+
3+
Licensed under the Apache License, Version 2.0 (the "License");
4+
you may not use this file except in compliance with the License.
5+
You may obtain a copy of the License at
6+
7+
http://www.apache.org/licenses/LICENSE-2.0
8+
9+
Unless required by applicable law or agreed to in writing, software
10+
distributed under the License is distributed on an "AS IS" BASIS,
11+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
See the License for the specific language governing permissions and
13+
limitations under the License.

0 commit comments

Comments
 (0)