Skip to content
This repository has been archived by the owner on Dec 24, 2021. It is now read-only.

Commit

Permalink
main - Run build
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick Lemmon committed Dec 4, 2020
1 parent 44ccc2f commit 529ddd7
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1505,16 +1505,16 @@ module.exports = /******/ (function (modules, runtime) {
const axios = __webpack_require__(53)
const {
GITHUB_API_URL,
GITHUB_ORGANIZATION,
GITHUB_REPOSITORY,
GITHUB_TOKEN,
SLACK_CHANNEL,
SLACK_WEBHOOK_URL,
} = __webpack_require__(648)

function getSecurityVulnerabilities() {
const repoArr = GITHUB_REPOSITORY.split('/')
const query = `query {
repository(owner: "${GITHUB_ORGANIZATION}", name: "${GITHUB_REPOSITORY}") {
repository(owner: "${repoArr[0]}", name: "${repoArr[1]}") {
vulnerabilityAlerts(first: 99) {
edges {
node {
Expand Down Expand Up @@ -2658,15 +2658,13 @@ module.exports = /******/ (function (modules, runtime) {

/***/ 648: /***/ function (module) {
const GITHUB_API_URL = 'https://api.github.com/graphql'
const GITHUB_ORGANIZATION = process.env.GITHUB_ORGANIZATION
const GITHUB_REPOSITORY = process.env.GITHUB_REPOSITORY
const GITHUB_TOKEN = process.env.GITHUB_TOKEN
const SLACK_WEBHOOK_URL = process.env.SLACK_WEBHOOK_URL
const SLACK_CHANNEL = process.env.SLACK_CHANNEL || process.env.INPUT_SLACKCHANNEL

module.exports = {
GITHUB_API_URL,
GITHUB_ORGANIZATION,
GITHUB_REPOSITORY,
GITHUB_TOKEN,
SLACK_WEBHOOK_URL,
Expand Down

0 comments on commit 529ddd7

Please sign in to comment.