diff --git a/.github/dependabot.yml b/.github/dependabot.yml index e734c2d30..06ac3b84d 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -9,3 +9,7 @@ updates: directory: "/src" # Location of package manifests schedule: interval: "weekly" + - package-ecosystem: "github-actions" + directory: "/" # Location of package manifests + schedule: + interval: "weekly" \ No newline at end of file diff --git a/.github/workflows/MigrationToolsTelemetery.yml b/.github/workflows/MigrationToolsTelemetery.yml index 93710f782..415b1e22a 100644 --- a/.github/workflows/MigrationToolsTelemetery.yml +++ b/.github/workflows/MigrationToolsTelemetery.yml @@ -18,11 +18,11 @@ jobs: steps: - uses: actions/checkout@v4 - name: Setup .NET SDK - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@latest with: dotnet-version: ${{ env.DOTNET_CORE_VERSION }} - name: Setup .NET Core (for inproc extensions) - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@latest with: dotnet-version: ${{ env.DOTNET_CORE_VERSION_INPROC }} - name: Restore diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index 53434fcdf..6117f804d 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - uses: actions/create-github-app-token@v1 id: app-token with: diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c7b20c575..ee6efd6d0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -55,7 +55,7 @@ jobs: nkdAgility_AzureSitesEnvironment: ${{ steps.nkdagility.outputs.AzureSitesEnvironment }} steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Install GitVersion @@ -255,19 +255,19 @@ jobs: GitVersion_MajorMinorPatch: ${{ needs.Setup.outputs.GitVersion_MajorMinorPatch }} steps: - name: Set up JDK 17 - uses: actions/setup-java@v3 + uses: actions/setup-java@v2 with: java-version: 17 distribution: 'zulu' - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - uses: cschleiden/replace-tokens@v1 with: files: '["**/StaticVariables.cs"]' tokenPrefix: "${" tokenSuffix: "}" - name: Setup .NET - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v4 with: dotnet-version: | 8.x @@ -340,7 +340,7 @@ jobs: GitVersion_AssemblySemVer: ${{ needs.Setup.outputs.GitVersion_AssemblySemVer }} GitVersion_InformationalVersion: ${{ needs.Setup.outputs.GitVersion_InformationalVersion }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup Ruby uses: ruby/setup-ruby@8575951200e472d5f2d95c625da0c7bec8217c42 # v1.161.0 with: @@ -475,7 +475,7 @@ jobs: if: ${{ success() && ( needs.Setup.outputs.nkdAgility_Ring == 'Release' ) }} steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - uses: actions/download-artifact@v4 - name: "Find files" shell: pwsh @@ -528,7 +528,7 @@ jobs: if: ${{ success() && ( needs.Setup.outputs.nkdAgility_RunRelease == 'true' ) }} steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - uses: actions/download-artifact@v4 - name: "Find files" shell: pwsh @@ -558,7 +558,7 @@ jobs: run: | Get-Item -Path .\ - name: SFTP Upload ${{ (needs.Setup.outputs.nkdAgility_Ring) }} - uses: Dylan700/sftp-upload-action@v1.1.4 + uses: Dylan700/sftp-upload-action@latest with: server: nakedalmweb.sftp.wpengine.com username: nakedalmweb-learn diff --git a/.github/workflows/open-pr-describer.yml b/.github/workflows/open-pr-describer.yml index 48c2fbc27..3d07578cf 100644 --- a/.github/workflows/open-pr-describer.yml +++ b/.github/workflows/open-pr-describer.yml @@ -14,7 +14,7 @@ jobs: pull-request: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: Ant0wan/openai-pr@v1 with: api-key: ${{ secrets.OPENAI_API_KEY }} diff --git a/.github/workflows/opencommit.yml b/.github/workflows/opencommit.yml index b16dd7535..966288699 100644 --- a/.github/workflows/opencommit.yml +++ b/.github/workflows/opencommit.yml @@ -22,7 +22,7 @@ jobs: uses: actions/setup-node@v2 with: node-version: '16' - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - uses: di-sukharev/opencommit@github-action-v1.0.4 diff --git a/src/MigrationTools.Clients.TfsObjectModel/Tools/TfsUserMappingTool.cs b/src/MigrationTools.Clients.TfsObjectModel/Tools/TfsUserMappingTool.cs index 49559daad..c54bf121f 100644 --- a/src/MigrationTools.Clients.TfsObjectModel/Tools/TfsUserMappingTool.cs +++ b/src/MigrationTools.Clients.TfsObjectModel/Tools/TfsUserMappingTool.cs @@ -76,7 +76,9 @@ public void MapUserIdentityField(TfsProcessor processor, Field field) var mapps = GetMappingFileData(); if (mapps != null && mapps.ContainsKey(field.Value.ToString())) { + var original = field.Value; field.Value = mapps[field.Value.ToString()]; + Log.LogDebug($"TfsUserMappingTool::MapUserIdentityField::Map:[original|{original}][new|{field.Value}]"); } }