Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
12 changes: 6 additions & 6 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ name: "CodeQL Advanced"

on:
push:
branches: [ "main" ]
branches: [ "main", "develop", "release-**" ]
pull_request:
branches: [ "main" ]
branches: [ "main", "develop", "release-**" ]
schedule:
- cron: '37 22 * * 5'

jobs:
analyze:
name: Analyze (${{ matrix.language }})
name: Analisar (${{ matrix.language }})
# Runner size impacts CodeQL analysis time. To learn more, please see:
# - https://gh.io/recommended-hardware-resources-for-running-codeql
# - https://gh.io/supported-runners-and-hardware-resources
Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
# uses: actions/setup-example@v1

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
- name: Inicializar o CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
Expand All @@ -81,7 +81,7 @@ jobs:
# If the analyze step fails for one of the languages you are analyzing with
# "We were unable to automatically build your code", modify the matrix above
# to set the build mode to "manual" for that language. Then modify this step
# to build your code.
# to build your code .
# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
- if: matrix.build-mode == 'manual'
Expand All @@ -94,7 +94,7 @@ jobs:
echo ' make release'
exit 1

- name: Perform CodeQL Analysis
- name: Fazendo analises com o CodeQL
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"
2 changes: 1 addition & 1 deletion src/SAF-T.Mozambique/Generators/MozambiqueSaftGenerator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ private string RetornaXml(AuditFile auditFile)
{
XmlWriterSettings settings = new()
{
Indent = true,
Indent = false,
Encoding = Encoding.UTF8
};
//using StringWriter stringWriter = new();
Expand Down