diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 00000000..3b6b4f5b --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,10 @@ +version: 2 +updates: + + - package-ecosystem: github-actions + directory: / + schedule: + interval: 'daily' + labels: + - github-actions + - dependabot diff --git a/.github/workflows/sonarqube.yml b/.github/workflows/sonarqube.yml index af1390ad..af518708 100644 --- a/.github/workflows/sonarqube.yml +++ b/.github/workflows/sonarqube.yml @@ -1,9 +1,11 @@ name: Static code analysis + on: + workflow_dispatch: pull_request: - branches: - - main - - next + types: [opened, synchronize, reopened] + # branches: ["next", "main", "release/**", "feature/**", "fix/**"] + jobs: code-analysis: name: Static code analysis @@ -14,13 +16,13 @@ jobs: fetch-depth: 0 - name: Set up JDK 17 - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: 17 distribution: "zulu" # Alternative distribution options are available. - name: Cache SonarCloud packages - uses: actions/cache@v1 + uses: actions/cache@v4 with: path: ~\sonar\cache key: ${{ runner.os }}-sonar @@ -28,7 +30,7 @@ jobs: - name: Cache SonarCloud scanner id: cache-sonar-scanner - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~\sonar\cache key: ${{ runner.os }}-sonar @@ -36,7 +38,7 @@ jobs: - name: Cache SonarCloud coverage id: cache-sonar-coverage - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~\sonar\cache key: ${{ runner.os }}-coverage diff --git a/Childrens-Social-Care-CPD/Views/Shared/_Header.cshtml b/Childrens-Social-Care-CPD/Views/Shared/_Header.cshtml index d6ff1de8..277d53fa 100644 --- a/Childrens-Social-Care-CPD/Views/Shared/_Header.cshtml +++ b/Childrens-Social-Care-CPD/Views/Shared/_Header.cshtml @@ -25,7 +25,7 @@