Skip to content

Commit

Permalink
make fix
Browse files Browse the repository at this point in the history
  • Loading branch information
gomez385 committed Oct 1, 2024
1 parent b37a747 commit 96aab09
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/workflows/terraform_plan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ jobs:
- name: Setup GITHUB Credentials
id: github_credentials
run: |
export REQUESTS_CA_BUNDLE=/etc/ssl/certs/ca-bundle.crt
python encode_jwt.py "$GITHUB_APP_PEM_FILE" "$GITHUB_APP_INSTALLATION_ID" "$GITHUB_BASE_URL" #>> $GITHUB_ENV
- name: Terraform Init
Expand Down
3 changes: 3 additions & 0 deletions encode_jwt.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
parser.add_argument('enterprise_url', type=str, help='GitHub Enterprise API URL (e.g., https://github.e.it.census.gov)')
args = parser.parse_args()

print(args.private_key)
print(args.installation_id)
print(args.enterprise_url)
# Load the PEM private key
private_key = load_pem_private_key(args.private_key.encode(), password=None)

Expand Down

0 comments on commit 96aab09

Please sign in to comment.