diff --git a/.github/workflows/E2E integration.yml b/.github/workflows/E2E integration.yml index 79cda1b..3778534 100644 --- a/.github/workflows/E2E integration.yml +++ b/.github/workflows/E2E integration.yml @@ -6,7 +6,7 @@ name: E2E integration on: push: branches: [main] - pull_request_target: + pull_request: branches: [main, release/vNext] env: @@ -69,7 +69,7 @@ jobs: if: runner.os == 'Windows' - name: Run eslint - run: npx eslint + run: npx eslint@7.32.0 -c node_modules/@microsoft/eslint-plugin-sdl/config/required.js ../${{env.PROJECT}}/${{env.FOLDER_TO_SCAN}}/ --ext .js @@ -81,8 +81,8 @@ jobs: continue-on-error: true - name: Upload eslint results as artifact - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: - name: eslint-result + name: eslint-result-${{ matrix.os }} path: ${{env.PROJECT}}/eslint-result-${{ matrix.os }}-${{github.run_id}}.sarif if-no-files-found: error