DNM: Call trusty through GH action #5
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: | | |
curl -v -H "Authorization: bearer ${{ secrets.GITHUB_TOKEN }}" \ | |
https://gh.trustypkg.dev/v1/report?package_name=uvicorn&package_type=pypi | |
echo "$ACTIONS_ID_TOKEN_REQUEST_URL" |