github.com/cosmos/cosmos-proto@v1.0.0-beta.3/.github/workflows/lint-pr.yml (about)

     1  name: "Lint PR"
     2  
     3  on:
     4    pull_request_target:
     5      types:
     6        - opened
     7        - edited
     8        - synchronize
     9  
    10  permissions:
    11    contents: read
    12  
    13  jobs:
    14    main:
    15      permissions:
    16        pull-requests: read  # for amannn/action-semantic-pull-request to analyze PRs
    17        statuses: write  # for amannn/action-semantic-pull-request to mark status of analyzed PR
    18      runs-on: ubuntu-latest
    19      steps:
    20        - uses: amannn/action-semantic-pull-request@v5.1.0
    21          env:
    22            GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}