diff --git a/.github/workflows/npm-bump.yml b/.github/workflows/npm-bump.yml index ec5baf2..7700739 100644 --- a/.github/workflows/npm-bump.yml +++ b/.github/workflows/npm-bump.yml @@ -26,9 +26,17 @@ jobs: with: node-version: '24.22.1' + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 + with: + repository: PiwikPRO/actions + ref: 1c113aa2675ac4dc8a28c2c1b4c03b6bec93a2fd + token: ${{ secrets.ACTIONS_READ_TOKEN }} + path: .shared-actions + persist-credentials: false + sparse-checkout: javascript/npm-bump + - name: Bump NPM package version - uses: PiwikPRO/actions/javascript/npm-bump@master + uses: ./.shared-actions/javascript/npm-bump with: version: ${{ inputs.version }} - reviewers: - - 'PiwikPRO/integrations' + reviewers: 'PiwikPRO/integrations' diff --git a/.github/workflows/pr-title.yml b/.github/workflows/pr-title.yml index 6bc4fd2..a1955d1 100644 --- a/.github/workflows/pr-title.yml +++ b/.github/workflows/pr-title.yml @@ -16,6 +16,18 @@ jobs: lint: runs-on: ubuntu-latest timeout-minutes: 5 - if: github.event.pull_request.draft == false + if: >- + github.event.pull_request.draft == false && + github.event.pull_request.head.repo.full_name == github.repository && + github.actor != 'dependabot[bot]' steps: - - uses: PiwikPRO/actions/pr-title@master + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 + with: + repository: PiwikPRO/actions + ref: 1c113aa2675ac4dc8a28c2c1b4c03b6bec93a2fd + token: ${{ secrets.ACTIONS_READ_TOKEN }} + path: .shared-actions + persist-credentials: false + sparse-checkout: pr-title + + - uses: ./.shared-actions/pr-title