This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import re | |
import csv | |
import requests | |
# open the file in the write mode | |
f = open('./audit.csv', 'w') | |
# csv header | |
fieldnames = ['published_at', 'tag', 'ticket', 'component', 'pod'] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import re | |
import requests | |
def get_releases(): | |
url = "https://api.github.com/repos/Curebase/web-app/releases" | |
payload={} | |
headers = { | |
'Authorization': 'Basic <github_token>' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* eslint-disable @typescript-eslint/no-this-alias */ | |
/* eslint-disable func-names */ | |
import mongoose from 'mongoose' | |
mongoose.Promise = global.Promise | |
const MONGO_URL = '{{uri}}' | |
const USER = 'user' | |
const PASSWORD = 'pass' |