[pull] master from diygod:master #2873
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@v3 | |
with: | |
message: '@dependabot ignore this dependency' | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |