diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 538e3dc96..14e028d1d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -31,6 +31,7 @@ jobs: RUNME_TEST_TOKEN: ${{ secrets.RUNME_TEST_TOKEN }} RUNME_PROJECT: ${{ github.workspace }} SHELL: bash + GITHUB_ACTOR: ${{ github.actor }} - name: 🔼 Upload Artifacts uses: actions/upload-artifact@v3 if: failure() diff --git a/tests/e2e/specs/githubAction.e2e.ts b/tests/e2e/specs/githubAction.e2e.ts index 5db4953c4..6b27a46fc 100644 --- a/tests/e2e/specs/githubAction.e2e.ts +++ b/tests/e2e/specs/githubAction.e2e.ts @@ -12,7 +12,11 @@ describe('Runme GitHub Workflow Integration', async () => { /** * Skip GitHub Action tests for local testing due to missing token */ - if ((!token && !process.env.CI) || process.env.NODE_ENV === 'production') { + if ( + (!token && !process.env.CI) || + process.env.NODE_ENV === 'production' || + process.env.GITHUB_ACTOR === 'dependabot[bot]' + ) { return }