Skip to content

Merge pull request #202 from crossplane-contrib/backport-200-to-relea… #53

Merge pull request #202 from crossplane-contrib/backport-200-to-relea…

Merge pull request #202 from crossplane-contrib/backport-200-to-relea… #53

Workflow file for this run

name: CodeQL
on:
push:
branches:
- main
- release-*
workflow_dispatch: {}
jobs:
detect-noop:
runs-on: ubuntu-22.04
outputs:
noop: ${{ steps.noop.outputs.should_skip }}
steps:
- name: Detect No-op Changes
id: noop
uses: fkirc/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
paths_ignore: '["**.md", "**.png", "**.jpg"]'
do_not_skip: '["workflow_dispatch", "schedule", "push"]'
concurrent_skipping: false
analyze:
runs-on: ubuntu-22.04
needs: detect-noop
if: needs.detect-noop.outputs.noop != 'true'
steps:
- name: Checkout
uses: actions/checkout@v2
with:
submodules: true
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: go
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2