github.com/quay/claircore@v1.5.28/.github/workflows/check-fast-forward.yml (about)

     1  ---
     2  name: Check Fast Forward
     3  on:
     4    pull_request:
     5      types: [opened, reopened, synchronize]
     6  jobs:
     7    check-fast-forward:
     8      runs-on: ubuntu-latest
     9  
    10      permissions:
    11        contents: read
    12        # We appear to need write permission for both pull-requests and
    13        # issues in order to post a comment to a pull request.
    14        pull-requests: write
    15        issues: write
    16  
    17      steps:
    18        - name: Checking if fast forwarding is possible
    19          uses: sequoia-pgp/fast-forward@v1
    20          with:
    21            merge: false
    22            comment: on-error