DNM: Call trusty through GH action #3
This file contains 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
--- | |
name: Test | |
on: | |
pull_request: | |
jobs: | |
call-trusty: | |
runs-on: ubuntu-latest | |
permissions: | |
id-token: write # This is required for requesting the JWT | |
steps: | |
- name: Call trusty | |
run: | | |
set -e | |
# curl with debug | |
curl -v -H "Authorization: bearer $ACTIONS_ID_TOKEN_REQUEST_TOKEN" \ | |
https://gh.trustypkg.dev/v1/report?package_name=uvicorn&package_type=pypi |