File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Dependabot Pull Request
2
+ on : pull_request_target
3
+ jobs :
4
+ build :
5
+ runs-on : ubuntu-latest
6
+ if : ${{ github.event.pull_request.user.login == 'dependabot[bot]' }}
7
+ steps :
8
+ - name : Fetch Dependabot metadata
9
+ id : dependabot-metadata
10
+ uses : dependabot/fetch-metadata@v1
11
+ with :
12
+ github-token : " ${{ secrets.GITHUB_TOKEN }}"
13
+ - name : Add dev-dependencies label
14
+ uses : actions-ecosystem/action-add-labels@v1
15
+ if : ${{ steps.dependabot-metadata.outputs.dependency-type == 'direct:development' }}
16
+ with :
17
+ labels : dev-dependencies
18
+ - name : Remove dependencies label
19
+ uses : actions-ecosystem/action-remove-labels@v1
20
+ if : ${{ steps.dependabot-metadata.outputs.dependency-type == 'direct:development' }}
21
+ with :
22
+ labels : dependencies
You can’t perform that action at this time.
0 commit comments