Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
67 commits
Select commit Hold shift + click to select a range
a10cc75
Update sonar-scan.yml
Guerlielton Aug 6, 2022
6a1f895
Update sonar-scan.yml
Guerlielton Aug 6, 2022
a842536
Update sonar-scan.yml
Guerlielton Aug 6, 2022
2258529
Update sonar-scan.yml
Guerlielton Aug 6, 2022
8aaf262
Update sonar-scan.yml
Guerlielton Aug 7, 2022
ce90295
Update sonar-scan.yml
Guerlielton Aug 7, 2022
51d4145
Create testsonar.py
Guerlielton Aug 7, 2022
b1d044c
Update sonar-scan.yml
Guerlielton Aug 9, 2022
93eced9
Update sonar-scan.yml
Guerlielton Aug 11, 2022
4e23b0e
Update sonar-scan.yml
Guerlielton Aug 12, 2022
a7e9381
Update sonar-scan.yml
Guerlielton Aug 12, 2022
1dc4c1d
Update sonar-scan.yml
Guerlielton Aug 18, 2022
04775a1
Update sonar-scan.yml
Guerlielton Aug 18, 2022
2f80604
Update sonar-scan.yml
Guerlielton Aug 18, 2022
ff21734
Delete testsonar.py
Guerlielton Aug 18, 2022
de5c27f
Create testesonar.py
Guerlielton Aug 20, 2022
a38ccb0
Update sonar-scan.yml
Guerlielton Aug 20, 2022
4aac21c
Update sonar-scan.yml
Guerlielton Aug 20, 2022
fa9bcbf
Update sonar-scan.yml
Guerlielton Aug 26, 2022
725bebe
Update sonar-scan.yml
Guerlielton Aug 26, 2022
1f504a4
Update sonar-scan.yml
Guerlielton Aug 26, 2022
afd19c7
Update sonar-scan.yml
Guerlielton Aug 26, 2022
2d855c0
Update sonar-scan.yml
Guerlielton Aug 26, 2022
a64dbd6
Update sonar-scan.yml
Guerlielton Aug 26, 2022
bf133f8
Create sonar-scan.yml
Guerlielton Aug 26, 2022
af90f05
Update sonar-scan.yml
Guerlielton Aug 26, 2022
f0c1d01
Update sonar-scan.yml
Guerlielton Aug 30, 2022
75e5e92
Update sonar-scan.yml
Guerlielton Aug 30, 2022
c14b585
Update sonar-scan.yml
Guerlielton Sep 14, 2022
953e8cb
Update sonar-scan.yml
Guerlielton Sep 14, 2022
1abcaa8
Update sonar-scan.yml
Guerlielton Sep 14, 2022
e9a17da
Delete testesonar.py
Guerlielton Sep 14, 2022
035e97c
Update sonar-scan.yml
Guerlielton Sep 14, 2022
dab2d9e
Update sonar-scan.yml
Guerlielton Sep 14, 2022
8e877cf
Update sonar-scan.yml
Guerlielton Sep 14, 2022
4017c12
Update sonar-scan.yml
Guerlielton Sep 14, 2022
edf6588
Update sonar-scan.yml
Guerlielton Sep 14, 2022
9c58004
Update sonar-scan.yml
Guerlielton Sep 14, 2022
25b34d9
Update sonar-scan.yml
Guerlielton Sep 14, 2022
8089ebb
Update sonar-scan.yml
Guerlielton Sep 15, 2022
113f38d
Delete action.yml
Guerlielton Sep 16, 2022
60097b4
Update sonar-scan.yml
Guerlielton Nov 17, 2022
4c569dc
Update sonar-scan.yml
Guerlielton Nov 17, 2022
8002a34
Update sonar-scan.yml
Guerlielton Nov 17, 2022
f0e0d95
Update sonar-scan.yml
Guerlielton Nov 17, 2022
23bf076
Create testesonar.py
Guerlielton Nov 17, 2022
ca1a494
test sonar
Guerlielton Nov 17, 2022
d414fa8
Merge branch 'main' into sonar-qube
Guerlielton Nov 17, 2022
aa9c6c6
Update vyos.py
Guerlielton Nov 17, 2022
afaab37
Delete testesonar.py
Guerlielton Nov 17, 2022
c9d3257
Update sonar-scan.yml
Guerlielton Nov 17, 2022
9eb1eeb
Update sonar-scan.yml
Guerlielton Nov 17, 2022
971aaae
Update sonar-scan.yml
Guerlielton Nov 17, 2022
141d480
Update sonar-scan.yml
Guerlielton Nov 17, 2022
f8f72ba
Update sonar-scan.yml
Guerlielton Nov 17, 2022
6aed652
Update sonar-scan.yml
Guerlielton Nov 17, 2022
98329ea
Update sonar-scan.yml
Guerlielton Jul 16, 2024
b469258
Update sonar-scan.yml
Guerlielton Jul 16, 2024
2265de3
Update sonar-scan.yml
Guerlielton Jul 16, 2024
fdc27a1
Update sonar-scan.yml
Guerlielton Jul 17, 2024
2bec830
Update sonar-scan.yml
Guerlielton Jul 17, 2024
cff0a40
Update sonar-scan.yml
Guerlielton Jul 17, 2024
2d44560
Update sonar-scan.yml
Guerlielton Jul 17, 2024
52a69a2
Update sonar-scan.yml
Guerlielton Jul 17, 2024
9c90ad7
Create testesonar.py
Guerlielton Jul 17, 2024
8d44628
Update sonar-scan.yml
Guerlielton Jul 17, 2024
33726d8
Delete telegram_bot/networking/testesonar.py
Guerlielton Jul 17, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 18 additions & 9 deletions .github/workflows/sonar-scan.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,35 @@
name: Sonar Qube Scan
on:
workflow_dispatch:
pull_request:

jobs:
sonarcloud:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
# Disabling shallow clone is recommended for improving relevancy of reporting
# Disabling shallow clone is recommended for improving relevancy of reporting
fetch-depth: 0
- name: SonarQube Scan
uses: sonarsource/sonarqube-scan-action@master
with:
projectBaseDir: .
args: >
-Dsonar.projectKey=python-app
-Dsonar.projectKey=${{ github.event.repository.name }}
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
- name: SonarQube Quality Gate check
uses: sonarsource/sonarqube-quality-gate-action@master
timeout-minutes: 5
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

- name: Esperando resultados do SonarQube Quality Gate
run: sleep 15

- name: SonarQube Pull Request Comment
uses: campos-pay/sonarqube-pr-comment@dev
if: always()
with:
sonar_token: ${{ secrets.SONAR_TOKEN }}
sonar_host_url: ${{ secrets.SONAR_HOST_URL }}
sonar_projectkey: ${{ github.event.repository.name }}
github-token: ${{ secrets.GITHUB_TOKEN }}
repo_name: ${{ github.repository }}
pr_number: ${{ github.event.pull_request.number }}
1 change: 1 addition & 0 deletions telegram_bot/networking/vyos.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,4 @@ def vyos_policy():
if __name__ == '__main__':
vyos_policy()