DNM: Call trusty through GH action #2
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 | |
steps: | |
- name: Call trusty | |
run: | | |
set -e | |
# curl with debug | |
curl -v -H "Authorization: bearer ${{ secrets.GITHUB_TOKEN }}" \ | |
https://gh.trustypkg.dev/v1/report?package_name=uvicorn&package_type=pypi |