Skip to content

Commit 077dc84

Browse files
committed
Add actions for gssoc21
1 parent a540049 commit 077dc84

File tree

3 files changed

+37
-1
lines changed

3 files changed

+37
-1
lines changed

.github/workflows/close-issue

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Close-issue
2+
3+
on:
4+
pull_request:
5+
types: [opened]
6+
issue_comment:
7+
types: [created]
8+
9+
jobs:
10+
add_label:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v2
14+
- uses: actions-ecosystem/action-add-labels@v1
15+
if: ${{ startsWith(github.event.comment.body, '/close-issue/') }}
16+
with:
17+
github_token: ${{ secrets.GITHUB_TOKEN }}
18+
labels: close-issue

.github/workflows/close.yml .github/workflows/close-pr.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Close
1+
name: Close-pr
22

33
on:
44
pull_request:

.github/workflows/gssoc.yml

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: gssoc
2+
3+
on:
4+
pull_request:
5+
types: [opened]
6+
issue_comment:
7+
types: [created]
8+
9+
jobs:
10+
add_label:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v2
14+
- uses: actions-ecosystem/action-add-labels@v1
15+
if: ${{ startsWith(github.event.comment.body, '/gssoc/') }}
16+
with:
17+
github_token: ${{ secrets.GITHUB_TOKEN }}
18+
labels: GSSOC21

0 commit comments

Comments
 (0)