1
0
mirror of https://github.com/1C-Company/v8-code-style.git synced 2024-12-14 22:16:14 +02:00
v8-code-style/.github/workflows/ci-build.yml

22 lines
708 B
YAML
Raw Normal View History

name: CI
on:
push:
branches:
- master
- release/*
pull_request:
branches:
- '*'
jobs:
build:
name: Build
# 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 }}