diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 00000000..2862b6ad --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,20 @@ +name: Build +on: + push: + branches: + - master + pull_request: + types: [opened, synchronize, reopened] +jobs: + sonarcloud: + name: SonarCloud + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + with: + fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis + - name: SonarCloud Scan + uses: SonarSource/sonarcloud-github-action@master + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any + SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} \ No newline at end of file diff --git a/sonar-project.properties b/sonar-project.properties new file mode 100644 index 00000000..bdc9aeb3 --- /dev/null +++ b/sonar-project.properties @@ -0,0 +1,13 @@ +sonar.projectKey=Eunomiac_eunos-blades +sonar.organization=eunomiac + +# This is the name and version displayed in the SonarCloud UI. +#sonar.projectName=eunos-blades +#sonar.projectVersion=1.0 + + +# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows. +#sonar.sources=. + +# Encoding of the source code. Default is default system encoding +#sonar.sourceEncoding=UTF-8 \ No newline at end of file diff --git a/templates/roll/partials/roll-collab-action-gm.hbs b/templates/roll/partials/roll-collab-action-gm.hbs index f90767e2..5ec225db 100644 --- a/templates/roll/partials/roll-collab-action-gm.hbs +++ b/templates/roll/partials/roll-collab-action-gm.hbs @@ -24,7 +24,7 @@
- {{rollSource.name}} + {{rollPrimary.name}} {{#if rollOpposition}}vs.{{else}} {{/if}} {{#if rollOpposition}}{{rollOpposition.name}}{{else}} {{/if}}
@@ -44,7 +44,7 @@
- +
diff --git a/templates/roll/partials/roll-collab-action.hbs b/templates/roll/partials/roll-collab-action.hbs index 18e2edea..70a921a4 100644 --- a/templates/roll/partials/roll-collab-action.hbs +++ b/templates/roll/partials/roll-collab-action.hbs @@ -24,7 +24,7 @@
- {{rollSource.name}} + {{rollPrimary.name}} {{#if rollOpposition}}vs.{{else}} {{/if}} {{#if rollOpposition}}{{rollOpposition.name}}{{else}} {{/if}}
@@ -44,7 +44,7 @@
- +
diff --git a/templates/roll/partials/roll-collab-downtime-gm.hbs b/templates/roll/partials/roll-collab-downtime-gm.hbs index 1569e0dc..1970034a 100644 --- a/templates/roll/partials/roll-collab-downtime-gm.hbs +++ b/templates/roll/partials/roll-collab-downtime-gm.hbs @@ -1,7 +1,7 @@
-

{{rollType}} Roll: {{rollSource.name}}

+

{{rollType}} Roll: {{rollPrimary.name}}