fix: Use RunContext
to avoid cargo_metadata
in production context
#358
Workflow file for this run
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: PR Lint | |
on: | |
pull_request_target: | |
types: | |
- opened | |
- edited | |
permissions: | |
pull-requests: read | |
jobs: | |
main: | |
name: Title | |
runs-on: | |
- runs-on | |
- runner=1cpu-linux-x64 | |
- run-id=${{ github.run_id }} | |
steps: | |
- uses: amannn/action-semantic-pull-request@v5 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |