CARVIEW |
Select Language
HTTP/2 200
date: Thu, 17 Jul 2025 16:32:42 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-robots-tag: none
etag: W/"add503075a73dedfec113ccb956a5f14"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=FT%2BRrWPS2lSd5qR8CcIrHuvjNsSGRKso7t5xvx2IjxVHDVhR5l37N3iBE%2B3PeCVrEvvRGYz6AJ2kDj4m9IqqFyeYry817ZP%2FO2wkbLTHnbc95wI01OUPhDaOgJTCWXFm%2BjbJRpfFBXupjRjE7DSMhbp3ZRB0dqnRqQ%2Bvm6OKPPROalnY1kyLUCFaKjQNzgK4iTYxmJzG9JEuYyzSuJQBuPLMcTg5KEG19KNvGNJ7h5j%2BdzqTkZGSXVWnqkib%2BsvdZABx3Anh1mowc%2B8kU4km8w%3D%3D--KyJFmfpd4BltY5r6--CYX%2BP3taytjMa8%2B1tRkwGw%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1178677192.1752769962; Path=/; Domain=github.com; Expires=Fri, 17 Jul 2026 16:32:42 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Fri, 17 Jul 2026 16:32:42 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 867A:100DA7:300BC6:3788D4:687925AA
Heroku · twbs/no-carrier Wiki · GitHub
Skip to content
Navigation Menu
{{ message }}
This repository was archived by the owner on Feb 10, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 17
Heroku
Piyush Raj edited this page Dec 29, 2017
·
3 revisions
You need:
- A Heroku account
- Installed copy of the Heroku Toolbelt
- A GitHub user for the bot to operate as. The user needs Collaborator permissions on the GitHub repo(s) it will be used on
- Create a GitHub Issues label in the repo(s). This label will indicate that the issue is blocked waiting for a reply from a user. In this example, the label is named
awaiting reply
.
# Make new dir for your app and switch to it
mkdir your-issues-closer-bot
cd your-issues-closer-bot
# Initialize git repo
git init
# Create an app on Heroku. See: heroku create --help
heroku apps:create your-issues-closer-bot
# Add heroku as remote to your git repo
heroku git:remote --app your-issues-closer-bot
# Fetch the latest no-carrier jar
curl -O -L https://github.com/twbs/no-carrier/releases/download/v1.0.0/no-carrier.jar
# Make special files to let Heroku know that you need Java 8
echo 'java.runtime.version=1.8' > system.properties
Create a pom.xml
file:
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="https://maven.apache.org/POM/4.0.0" xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="https://maven.apache.org/POM/4.0.0 https://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.example</groupId>
<version>1.0-SNAPSHOT</version>
<artifactId>issues-closer-bot</artifactId>
</project>
# Set env variables with user credentials (keep it in secret)
heroku config:set GITHUB_USERNAME=username GITHUB_PASSWORD=password
# Make a script to run NO CARRIER (see the "Usage" section in README: https://github.com/twbs/no-carrier#usage )
echo 'java -jar no-carrier.jar username/repository "awaiting reply" 14' > cron.daily.sh
chmod +x ./cron.daily.sh
# Add them all to git, push to Heroku and pray!
git add .
git commit -m 'Please work'
git push heroku master
# Check your cron script (it should print some data)
heroku run ./cron.daily.sh
# Add scheduler to your app
heroku addons:create scheduler:standard
# Setup our script to run daily; after the webpage opens, you need to input `./cron.daily.sh` into the form.
heroku addons:open scheduler
That's it!
NO CARRIER documentation wiki content is licensed under the MIT License.
Clone this wiki locally
You can’t perform that action at this time.