Skip to content

Commit 157d254

Browse files
DEVOPS-62 updated readme
1 parent 9b9c0dc commit 157d254

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.github/workflows/github_billing_details.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ jobs:
2929
pip install pipenv
3030
pipenv install
3131
- name: execute python program
32+
env:
33+
GH_TOKEN: ${{ secrets.DEVWITHKRISHNA_PERSONAL_ACCESS_TOKEN }}
3234
run: |
3335
pipenv run python3 github_billing.py --organization ${{ inputs.organization }} --account_name ${{ inputs.account_name }}
3436
- name: send email program

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,14 @@ This repo uses github rest api to pull billing details for github org and user a
1111
Later these json files are dropped as an email using sendgrid to ownerof account. Email consists of multiple json atachments
1212
```
1313

14+
# Credentials used for authorization
15+
16+
| credential | purpose | check |
17+
|------------------------------------|------------------------------------------------------------------------|--------------------|
18+
| fine grained personal access token | this is used for all purpose like listing repos, github app detailsetc | :heavy_check_mark: |
19+
| sendgrid api key | this is used for amiling purpose to auth with sendgrid | :heavy_check_mark: |
20+
21+
1422
# SendGrid
1523

1624
```

0 commit comments

Comments
 (0)