Files
RSSHub/.github/workflows/dependabot-fork.yml
dependabot[bot] 5dc8d67a40 chore(deps): bump actions/checkout from 3 to 4 (#13214)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [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/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  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>
2023-09-05 07:39:41 +08:00

20 lines
529 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
timeout-minutes: 5
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Comment Dependabot PR
uses: thollander/actions-comment-pull-request@v2
with:
message: '@dependabot ignore this dependency'
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}