diff --git a/.github/workflows/test-pull-request-approved.yml b/.github/workflows/test-pull-request-approved.yml index afc6e146..c1c9e56e 100644 --- a/.github/workflows/test-pull-request-approved.yml +++ b/.github/workflows/test-pull-request-approved.yml @@ -18,6 +18,7 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: '10' + persist-credentials: false - id: get_xetabase_branch name: "Get current branch for Xetabase from target branch" run: | @@ -35,8 +36,7 @@ jobs: echo "xetabase_branch=${xetabase_branch}" >> $GITHUB_OUTPUT env: ZETTA_REPO_ACCESS_TOKEN: ${{ secrets.ZETTA_REPO_ACCESS_TOKEN }} - with: - persist-credentials: false + test: name: "Run all tests before merging" needs: calculate-xetabase-branch