Skip to content

Commit

Permalink
GITHUB_USER and GITHUB_PAT are no longer needed (#172)
Browse files Browse the repository at this point in the history
  • Loading branch information
robandpdx authored Feb 25, 2025
1 parent 5333ffe commit 4e5111e
Showing 3 changed files with 0 additions and 13 deletions.
3 changes: 0 additions & 3 deletions .env-sample
Original file line number Diff line number Diff line change
@@ -4,9 +4,6 @@ WEBHOOK_PROXY_URL=
APP_ID=
WEBHOOK_SECRET=
PRIVATE_KEY=
# GutHub User
GITHUB_PAT=
GITHUB_USER=
# Slack App
SLACK_BOT_TOKEN=
# Functionality flags
6 changes: 0 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -55,10 +55,6 @@ Get the following details about your GitHub app:

You will need to base64 encode the private key.

You will also need a user and PAT with admin permissions on the repos in order to merge bypassing checks and required approvals. These will be supplied to the app as the following env vars:
- `GITHUB_USER`
- `GITHUB_PAT`

Get the following details about your Slack app:
- `SLACK_BOT_TOKEN`

@@ -129,8 +125,6 @@ docker run \
-e APP_ID=$APP_ID \
-e PRIVATE_KEY=$PRIVATE_KEY \
-e WEBHOOK_SECRET=$WEBHOOK_SECRET \
-e GITHUB_PAT=$GITHUB_PAT \
-e GITHUB_USER=$GITHUB_USER \
-e APPROVE_PR=$APPROVE_PR \
-e CREATE_ISSUE=$CREATE_ISSUE \
-e MERGE_PR=$MERGE_PR \
4 changes: 0 additions & 4 deletions app.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
const fs = require('fs')
const auth = {
username: process.env.GITHUB_USER,
password: process.env.GITHUB_PAT
}

const emergencyLabel = process.env.EMERGENCY_LABEL || 'emergency';

0 comments on commit 4e5111e

Please sign in to comment.