Skip to content

Commit 22a4490

Browse files
authored
Merge pull request #80 from NVIDIA/actions
Adds Github Actions
2 parents 223d8dd + 28a9465 commit 22a4490

File tree

3 files changed

+63
-0
lines changed

3 files changed

+63
-0
lines changed

.github/pr-labels.yml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
"component: api [C++]":
2+
- cpp/api/**/*
3+
4+
"component: api [Python]":
5+
- py/api/**/*
6+
7+
"component: conversion":
8+
- core/conversion/**/*
9+
10+
"component: converters":
11+
- core/conversion/converters/**/*
12+
13+
"component: evaluators":
14+
- core/conversion/evaluators/**/*
15+
16+
"component: execution":
17+
- core/execution/**/*
18+
19+
"component: lowering":
20+
- core/lowering/**/*

.github/workflows/label.yml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# This workflow will triage pull requests and apply a label based on the
2+
# paths that are modified in the pull request.
3+
#
4+
# To use this workflow, you will need to set up a .github/labeler.yml
5+
# file with configuration. For more information, see:
6+
# https://github.com/actions/labeler/blob/master/README.md
7+
8+
name: Labeler
9+
on: [pull_request]
10+
11+
jobs:
12+
label:
13+
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- uses: actions/labeler@v2
18+
with:
19+
repo-token: "${{ secrets.GITHUB_TOKEN }}"
20+
configuration-path: .github/pr-labels.yml

.github/workflows/stale.yml

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Mark stale issues and pull requests
2+
3+
on:
4+
schedule:
5+
- cron: "0 0 * * *"
6+
7+
jobs:
8+
stale:
9+
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/stale@v1
14+
with:
15+
repo-token: ${{ secrets.GITHUB_TOKEN }}
16+
stale-issue-message: 'This issue has not seen activity for 30 days, Remove stale label or comment or this will be closed in 5 days'
17+
stale-pr-message: 'This PR has not seen activity for 30 days, Remove stale label or comment or this will be closed in 5 days'
18+
stale-issue-label: 'No Activity'
19+
exempt-issue-labels: 'WIP'
20+
stale-pr-label: 'No Activity'
21+
exempt-pr-labels: 'WIP'
22+
days-before-stale: 30
23+
days-before-close: 5

0 commit comments

Comments
 (0)