Skip to content

Commit

Permalink
Rename project (en localization) (#3)
Browse files Browse the repository at this point in the history
* deep refactoring (only one module), naming
* localization (en, ru)
* docs (en)
  • Loading branch information
astrizhachuk authored Jul 30, 2020
1 parent 29363ba commit 7628990
Show file tree
Hide file tree
Showing 38 changed files with 5,060 additions and 1,633 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/sonar-scanner.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
name: sonar-scanner

on: [push, pull_request]
on:
pull_request:
branches:
- master
push:
branches:
- master

jobs:
SonarScanner:
if: github.repository == 'astrizhachuk/CodeStatusHTTP'
if: github.repository == 'astrizhachuk/HTTPStatusCodes'
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -15,13 +21,15 @@ jobs:
if: github.event_name == 'push'
run: sonar-scanner
-Dsonar.login=${{ secrets.SONAR_TOKEN }}
-Dsonar.projectVersion=$(grep -oPm1 "(?<=<version>)[^<]+" HTTPStatusCodes/src/Configuration/Configuration.mdo)
-Dsonar.host.url=https://sonar.openbsl.ru
-Dsonar.branch.name=${GITHUB_REF#refs/heads/}
- name: Run SonarQube on pull request
if: github.event_name == 'pull_request'
run: sonar-scanner
-Dsonar.login=${{ secrets.SONAR_TOKEN }}
-Dsonar.host.url=https://sonar.openbsl.ru
-Dsonar.projectVersion=$(grep -oPm1 "(?<=<version>)[^<]+" HTTPStatusCodes/src/Configuration/Configuration.mdo)
-Dsonar.pullrequest.key=${{ github.event.pull_request.number }}
-Dsonar.pullrequest.branch=${{ github.event.pull_request.head.ref }}
-Dsonar.pullrequest.base=${{ github.event.pull_request.base.ref }}
1 change: 0 additions & 1 deletion .gitignore

This file was deleted.

This file was deleted.

Loading

0 comments on commit 7628990

Please sign in to comment.