-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (35 loc) · 1.3 KB
/
dependabot-merge.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Dependabot Commenter
on:
pull_request_target:
types:
- labeled
jobs:
comment:
runs-on: ubuntu-latest
steps:
- name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: echo "$GITHUB_CONTEXT"
- name: Dump job context
env:
JOB_CONTEXT: ${{ toJson(job) }}
run: echo "$JOB_CONTEXT"
- name: Dump steps context
env:
STEPS_CONTEXT: ${{ toJson(steps) }}
run: echo "$STEPS_CONTEXT"
- name: Dump runner context
env:
RUNNER_CONTEXT: ${{ toJson(runner) }}
run: echo "$RUNNER_CONTEXT"
- uses: actions/checkout@v2
with:
ref: master
- name: Dependabot Commenter
if: |
(github.event.label.name == ':shipit: merge') && (github.event.pull_request.user.login == 'dependabot[bot]' || github.event.pull_request.user.login == 'dependabot-preview[bot]')
uses: peaceiris/[email protected]
with:
github_token: ${{ secrets.RSG_BOT_TOKEN }}
config_file: .github/label-commenter-dependabot.yml