{"id":16575224,"url":"https://github.com/kolosovpetro/sonarcloudviagithubactions","last_synced_at":"2025-10-13T12:41:25.956Z","repository":{"id":39617116,"uuid":"498080523","full_name":"kolosovpetro/SonarCloudViaGithubActions","owner":"kolosovpetro","description":"Explains how to integrate SonarCloud with GitHub actions in a simple and quick approach.","archived":false,"fork":false,"pushed_at":"2022-10-31T17:48:42.000Z","size":2462,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-27T03:48:33.777Z","etag":null,"topics":["continuous-integration","github-actions","sonarcloud","sonarqube"],"latest_commit_sha":null,"homepage":"https://kolosovpetro.github.io/pdf/SonarCloudViaGithubActions.pdf","language":"TeX","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kolosovpetro.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-05-30T19:58:25.000Z","updated_at":"2023-08-14T09:37:12.000Z","dependencies_parsed_at":"2022-08-28T08:03:09.699Z","dependency_job_id":null,"html_url":"https://github.com/kolosovpetro/SonarCloudViaGithubActions","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kolosovpetro/SonarCloudViaGithubActions","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kolosovpetro%2FSonarCloudViaGithubActions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kolosovpetro%2FSonarCloudViaGithubActions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kolosovpetro%2FSonarCloudViaGithubActions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kolosovpetro%2FSonarCloudViaGithubActions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kolosovpetro","download_url":"https://codeload.github.com/kolosovpetro/SonarCloudViaGithubActions/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kolosovpetro%2FSonarCloudViaGithubActions/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279015057,"owners_count":26085643,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-13T02:00:06.723Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["continuous-integration","github-actions","sonarcloud","sonarqube"],"created_at":"2024-10-11T21:47:20.833Z","updated_at":"2025-10-13T12:41:25.936Z","avatar_url":"https://github.com/kolosovpetro.png","language":"TeX","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SonarCloud via GitHub Actions\n\nExplains how to integrate SonarCloud with GitHub actions in a simple and quick approach.\n\n## Build and run in Intellij IDEA\n\n- Install `MikTeX`: https://miktex.org/download\n- Update `MikTeX`\n- Install `SumatraPDF` viewer: https://www.sumatrapdfreader.org/download-free-pdf-viewer\n- Install `Intellij IDEA Ultimate`: https://www.jetbrains.com/idea/download/#section=windows\n- Activate `Intellij IDEA Ultimate`\n- Install `TeXiFy IDEA` plugin: https://plugins.jetbrains.com/plugin/9473-texify-idea\n- Clone this repository locally: `https://github.com/kolosovpetro/SonarCloudViaGithubActions.git`\n- Open `github-latex-template` folder in `Intellij IDEA Ultimate` and configure as follows\n    - LaTeX Configuration\n      ![LaTeX Configuration](img/latex_configuration.PNG?raw=true \"LaTeX Configuration\")\n    - BibTeX Configuration\n      ![BibTeX Configuration](img/bibtex_configuration.PNG?raw=true \"BibTeX Configuration\")\n- Configure Inverse Search in `Intellij IDEA` for SumatraPDF: `Tools -\u003e LaTeX -\u003e Configure Inverse Search`\n- Compile document using `Shift + F10`\n\n## Configure CI / CD\n\nSet repository secrets\n\n- `GH_ACCESS_TOKEN`: Generate GitHub Personal access token at\n  `Settings -\u003e Developer Settings -\u003e Personal access tokens -\u003e Generate mew token` and assign in to\n  secret `GH_ACCESS_TOKEN`\n\n## Actions and their trigger policy\n\n- `build-pdf.yml` builds project using `TeXLive`. Triggered on `pull_request`, `push` to `develop` branch\n- `build-and-deploy-pdf.yml` builds project using `TeXLive` and deploys to `GitHub Pages`. Triggered on `push` to `main`\n  branch\n\n## Template example\n\nCompiled document looks like as follows\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"img/template_example.PNG\" alt=\"template_example\"/\u003e\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkolosovpetro%2Fsonarcloudviagithubactions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkolosovpetro%2Fsonarcloudviagithubactions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkolosovpetro%2Fsonarcloudviagithubactions/lists"}