Skip to content

Commit

Permalink
Merge pull request #442 from Game-as-a-Service/refactor/flow
Browse files Browse the repository at this point in the history
feat: exclude dependabot from PR auto-label workflow
  • Loading branch information
JohnsonMao authored Jan 30, 2025
2 parents fbc8d76 + 43a59f5 commit a7d7b20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/auto-label.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@ on:

jobs:
label:
if: github.event.pull_request.user.login != 'dependabot[bot]'
runs-on: ubuntu-latest
steps:
- name: Label PR based on title and comments
uses: actions/github-script@v5
uses: actions/github-script@v7
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
Expand All @@ -24,7 +25,6 @@ jobs:
{ keyword: 'refactor', label: 'refactor' },
{ keyword: 'fix', label: 'bug' },
{ keyword: '[RENOVATE-BOT]', label: 'dependency upgrade' },
{ keyword: '[SECURITY]', label: 'security' },
];
// Collect all labels that should be added according to the title
Expand Down

0 comments on commit a7d7b20

Please sign in to comment.