name: Ignore dependabot on forks on: pull_request jobs: dependabot-fork: if: github.repository_owner != 'DIYgod' && github.actor == 'dependabot[bot]' runs-on: ubuntu-slim name: Ignore dependabot on forks timeout-minutes: 5 steps: - name: Checkout uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 - name: Comment Dependabot PR uses: thollander/actions-comment-pull-request@24bffb9b452ba05a4f3f77933840a6a841d1b32b # v3.0.1 with: message: '@dependabot ignore this dependency' GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}