Skip to content

Update Github Cache versions #702

Update Github Cache versions

Update Github Cache versions #702

Workflow file for this run

name: Scan
on:
push:
branches: [ development ]
pull_request:
branches: [ 'master', 'development' ]
types: [
opened,
synchronize,
reopened ]
workflow_dispatch:
inputs:
Name:
description: 'A name for this re-run'
required: true
default: 'Re-run the workflow'
Description:
description: 'A description for this re-run'
required: false
default: ''
jobs:
Check-Duplicate:
runs-on: ubuntu-latest
outputs:
should_skip: ${{ steps.skip_check.outputs.should_skip }}
steps:
- id: skip_check
uses: fkirc/skip-duplicate-actions@master
with:
skip_after_successful_duplicate: 'true'
concurrent_skipping: 'same_content_newer'
scan:
needs: Check-Duplicate
if: ${{ needs.Check-Duplicate.outputs.should_skip != 'true' }}
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
- uses: actions/checkout@v3
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_CLOUD }}