Skip to content

Commit

Permalink
Update dependabot-update-dotnet-lockfiles.yml (Azure#10110)
Browse files Browse the repository at this point in the history
  • Loading branch information
anthony-c-martin committed Mar 14, 2023
1 parent f89bdbc commit fbc7cae
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/dependabot-update-dotnet-lockfiles.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
name: 'Dependabot: Update Dotnet Lockfiles'
on:
pull_request:
branches:
- 'dependabot/nuget/**'
branches: [main]
types:
- opened
- reopened
Expand All @@ -13,7 +12,7 @@ on:
jobs:
update-dotnet-lockfiles:
name: Update Dotnet Lockfiles
if: ${{ github.actor == 'dependabot[bot]' }}
if: ${{ github.actor == 'dependabot[bot]' && contains(github.event.pull_request.labels.*.name, '.NET') }}
runs-on: ubuntu-latest
permissions:
pull-requests: write
Expand Down

0 comments on commit fbc7cae

Please sign in to comment.