diff --git a/.github/workflows/test-analysis.yml b/.github/workflows/test-analysis.yml index bb48ccd4b40..8a42aaa19b6 100644 --- a/.github/workflows/test-analysis.yml +++ b/.github/workflows/test-analysis.yml @@ -46,6 +46,8 @@ jobs: java-version: '17' cache: 'maven' - name: Install dependencies branches + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any run: | if [ -f "./.github/workflows/scripts/get_same_branch.sh" ]; then chmod +x ./.github/workflows/scripts/get_same_branch.sh @@ -73,6 +75,8 @@ jobs: java-version: '8' cache: 'maven' - name: Install dependencies branches + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any run: | if [ -f "./.github/workflows/scripts/get_same_branch.sh" ]; then chmod +x ./.github/workflows/scripts/get_same_branch.sh