diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 7a7ebaa..1b6cdd9 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -13,7 +13,6 @@ concurrency: jobs: check_stability: name: Check stability - if: ${{ github.event.pull_request.user.login != 'dependabot[bot]' }} runs-on: ubuntu-latest steps: - name: Checkout code @@ -28,6 +27,7 @@ jobs: - name: Cache dependencies id: cache + if: ${{ github.event.pull_request.user.login != 'dependabot[bot]' }} uses: actions/cache@v4 with: path: ~/.npm @@ -71,7 +71,7 @@ jobs: github.rest.pulls.merge({ merge_method: 'squash', - owner: repository.owner.login, + owner: ${{ github.repository_owner }}, pull_number: pullRequest.number, repo: repository.name });