Added PyGithub package to invoke github api calls #25
Workflow file for this run
This file contains hidden or 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: Run diff-poetry-lock safe for forks | |
| on: # zizmor: ignore[dangerous-triggers] Limitations on checkout safen this. | |
| pull_request_target: | |
| branches: | |
| - main | |
| paths: | |
| - poetry.lock | |
| permissions: {} | |
| jobs: | |
| diff-lockfile-main: | |
| runs-on: ubuntu-latest | |
| name: Diff poetry.lock | |
| continue-on-error: true | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 | |
| with: | |
| persist-credentials: false | |
| ref: ${{ github.event.pull_request.head.sha }} | |
| sparse-checkout: poetry.lock | |
| - name: Diff poetry.lock | |
| env: | |
| DEBUG_MODE: 1 | |
| uses: | # zizmor: ignore[unpinned-uses] It's safe to use main on our own repo. | |
| target/diff-poetry-lock@main |