2021-03-12 19:40:50 +02:00
|
|
|
name: CI
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
2021-10-13 22:08:22 +02:00
|
|
|
- release/*
|
2021-03-12 19:40:50 +02:00
|
|
|
pull_request:
|
|
|
|
branches:
|
|
|
|
- '*'
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
name: Build
|
2021-10-13 22:08:22 +02:00
|
|
|
# This build will run on master,release/* push, local PR and PR from forks without label Analyze
|
|
|
|
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.event.repository.full_name || !contains(github.event.pull_request.labels.*.name, 'Analyze')
|
|
|
|
uses: 1C-company/v8-code-style/.github/workflows/build.yml@master
|
|
|
|
with:
|
|
|
|
analyze: ${{ github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.event.repository.full_name }}
|
|
|
|
secrets:
|
|
|
|
sonar_token: ${{ secrets.SONAR_TOKEN }}
|