-
Notifications
You must be signed in to change notification settings - Fork 195
37 lines (32 loc) · 1 KB
/
pr-commands.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: 'Handle commands in PR comments'
on:
issue_comment:
types: [created]
jobs:
rebase-pr:
if: github.repository == 'robotology/yarp'
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Rebase PR
uses: drdanz/rebase@pr_from_fork
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
randaz81_TOKEN: ${{ secrets.randaz81_TOKEN }}
Nicogene_TOKEN: ${{ secrets.Nicogene_TOKEN }}
elandini84_TOKEN: ${{ secrets.elandini84_TOKEN }}
squash-pr:
if: github.repository == 'robotology/yarp'
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Squash PR
uses: robotology/gh-action-squash@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
drdanz_TOKEN: ${{ secrets.drdanz_TOKEN }}
randaz81_TOKEN: ${{ secrets.randaz81_TOKEN }}
Nicogene_TOKEN: ${{ secrets.Nicogene_TOKEN }}
elandini84_TOKEN: ${{ secrets.elandini84_TOKEN }}