diff --git a/.github/workflows/auto-merge-dependabot.yml b/.github/workflows/auto-merge-dependabot.yml index 86df420..6e5953f 100644 --- a/.github/workflows/auto-merge-dependabot.yml +++ b/.github/workflows/auto-merge-dependabot.yml @@ -19,7 +19,7 @@ jobs: steps: - name: Dependabot metadata id: metadata - uses: dependabot/fetch-metadata@v1.5.1 + uses: dependabot/fetch-metadata@v1.6.0 with: github-token: "${{ secrets.GITHUB_TOKEN }}" diff --git a/.github/workflows/pr-validation.yml b/.github/workflows/pr-validation.yml index c56026f..c04e895 100644 --- a/.github/workflows/pr-validation.yml +++ b/.github/workflows/pr-validation.yml @@ -15,7 +15,7 @@ jobs: php-versions: ['7.4', '8.0', '8.1', '8.2'] steps: - name: Checkout - uses: actions/checkout@v3.5.2 + uses: actions/checkout@v3.5.3 - name: Setup PHP and Xdebug for Code Coverage report uses: shivammathur/setup-php@v2 with: @@ -30,7 +30,7 @@ jobs: - name: Fix code coverage paths run: sed -i 's@'$GITHUB_WORKSPACE'@/github/workspace/@g' coverage.xml - name: SonarCloud Scan - if: ${{ matrix.php-versions == '8.0' }} + if: ${{ matrix.php-versions == '8.0' && !github.event.pull_request.head.repo.fork }} uses: SonarSource/sonarcloud-github-action@master env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/composer.json b/composer.json index 66f5154..6071a55 100644 --- a/composer.json +++ b/composer.json @@ -13,7 +13,7 @@ "php": "^7.4 | ^8.0", "league/oauth2-client": "^2.6.1", "php-http/promise": "^1.1.0", - "microsoft/kiota-abstractions": "^0.7.0", + "microsoft/kiota-abstractions": "^0.7.0 || ^0.8.0", "firebase/php-jwt": "^v6.0.0", "ramsey/uuid": "^4.2.3", "ext-openssl": "*",