Bumps [thollander/actions-comment-pull-request](https://github.com/thollander/actions-comment-pull-request) from 1 to 2. - [Release notes](https://github.com/thollander/actions-comment-pull-request/releases) - [Commits](https://github.com/thollander/actions-comment-pull-request/compare/v1...v2) --- updated-dependencies: - dependency-name: thollander/actions-comment-pull-request dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
19 lines
506 B
YAML
19 lines
506 B
YAML
name: Ignore dependabot on forks
|
|
|
|
on: pull_request
|
|
|
|
jobs:
|
|
dependabot-fork:
|
|
if: github.repository_owner != 'DIYgod' && github.actor == 'dependabot[bot]'
|
|
runs-on: ubuntu-latest
|
|
name: Ignore dependabot on forks
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Comment Dependabot PR
|
|
uses: thollander/actions-comment-pull-request@v2
|
|
with:
|
|
message: '@dependabot ignore this dependency'
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|