Skip to content

Commit

Permalink
fix: fix sonar build
Browse files Browse the repository at this point in the history
  • Loading branch information
geobos23 committed Jun 27, 2023
1 parent e54e776 commit 94bdef8
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/commit-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ on: [pull_request]

jobs:
semantic-release:
runs-on: ubuntu-latest
runs-on: [self-hosted, ts-small-x64-docker-small]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Dry-run release
Expand All @@ -18,4 +18,4 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Lint commit messages
uses: tradeshift/commitlint-github-action@v3
uses: tradeshift/commitlint-github-action@v5
15 changes: 11 additions & 4 deletions .github/workflows/pr-sonar.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,23 @@
name: Sonarqube scanner

on:
pull_request:
push:
branches:
- master

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}

jobs:
build:
runs-on: ubuntu-latest
sonar:
runs-on: [self-hosted, ts-large-x64-docker-large]

steps:
- uses: actions/checkout@v2
- name: fetching
- name: ⬇️ Checkout repo
uses: actions/checkout@v3
- name: Fetch PR
if: contains(github.ref, 'pull')
run: |
git fetch origin ${{ github.event.pull_request.head.sha }}
Expand Down

0 comments on commit 94bdef8

Please sign in to comment.