mirror of
https://github.com/badges/shields.git
synced 2025-04-17 08:37:04 +03:00
This disables the comments like https://github.com/badges/shields/pull/3933#issuecomment-526905743 which seem a bit chatty, as the review apps can be accessed from the checks. This and also turns off builds for branches. For the most part we keep PRs open when branches are at a stage of being ready for useful review, so I think that should be sufficient for us.
28 lines
984 B
YAML
28 lines
984 B
YAML
ports:
|
|
- port: 8080
|
|
onOpen: open-preview
|
|
tasks:
|
|
- init: npm ci && npm run build
|
|
command: node server 8080 0.0.0.0
|
|
github:
|
|
prebuilds:
|
|
# enable for the master/default branch (defaults to true)
|
|
master: true
|
|
# enable for all branches in this repo (defaults to false)
|
|
branches: false
|
|
# enable for pull requests coming from this repo (defaults to true)
|
|
pullRequests: true
|
|
# enable for pull requests coming from forks (defaults to false)
|
|
pullRequestsFromForks: true
|
|
# add a check to pull requests (defaults to true)
|
|
addCheck: true
|
|
# add a "Review in Gitpod" button as a comment to pull requests (defaults to false)
|
|
addComment: false
|
|
# add a "Review in Gitpod" button to the pull request's description (defaults to false)
|
|
addBadge: false
|
|
# add a label once the prebuild is ready to pull requests (defaults to false)
|
|
addLabel: false
|
|
vscode:
|
|
extensions:
|
|
- esbenp.prettier-vscode@1.7.0:EbyqFvwe32qQBptkOgfQpQ==
|