...

Text file src/github.com/google/go-containerregistry/.github/workflows/analyze.yaml

Documentation: github.com/google/go-containerregistry/.github/workflows

     1name: Analyze
     2
     3on:
     4  workflow_dispatch:
     5  push:
     6    branches: ['main']
     7  pull_request:
     8    branches: ['main']
     9
    10jobs:
    11  analyze:
    12    name: Analyze
    13    runs-on: ubuntu-latest
    14    steps:
    15    - uses: actions/checkout@v3
    16      with:
    17        # We must fetch at least the immediate parents so that if this is
    18        # a pull request then we can checkout the head.
    19        fetch-depth: 2
    20
    21    - uses: github/codeql-action/init@v2
    22      with:
    23        languages: go
    24    - uses: github/codeql-action/autobuild@v2
    25    - uses: github/codeql-action/analyze@v2

View as plain text