Bumps [actions/checkout](https://github.com/actions/checkout) from 6.0.3 to 7.0.0. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/df4cb1c069e1874edd31b4311f1884172cec0e10...9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: 7.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
20 lines
689 B
YAML
20 lines
689 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-slim
|
|
name: Ignore dependabot on forks
|
|
timeout-minutes: 5
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
|
|
|
- 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 }}
|