Skip to content

Commit cc23517

Browse files
cloudalchemybotmergify[bot]
authored andcommitted
🤖 sync with cloudalchemy/skeleton (SHA: a2752423): .github/workflows: less frequent label sync (cloudalchemy#18)
1 parent 5fe490b commit cc23517

File tree

5 files changed

+113
-0
lines changed

5 files changed

+113
-0
lines changed

.github/labeler.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
# configuration spec at https://github.com/actions/labeler/blob/master/README.md
3+
area/docs:
4+
- meta/*
5+
- CHANGELOG.md
6+
- CONTRIBUTING.md
7+
- LICENSE
8+
- README.md
9+
area/tests:
10+
- molecule/*
11+
- molecule/**/*
12+
- .ansible-lint
13+
- test-requirements.txt
14+
- tox.ini
15+
area/automation:
16+
- .travis/*
17+
- .github/*
18+
- .github/**/*
19+
- .travis.yml
20+
- .mergify.yml
21+
area/vars:
22+
- defaults/*
23+
- vars/*
24+
- vars/**/*
25+
area/tasks:
26+
- handlers/*
27+
- tasks/*
28+
- tasks/**/*
29+
area/jinja:
30+
- templates/*
31+
- templates/**/*

.github/labels.yml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
---
2+
# Default GitHub labels
3+
- color: d73a4a
4+
name: bug
5+
description: Something isn't working
6+
- color: cfd3d7
7+
name: duplicate
8+
description: This issue or pull request already exists
9+
- color: a2eeef
10+
name: enhancement
11+
description: New feature or request
12+
- color: 7057ff
13+
name: good first issue
14+
description: Good for newcomers
15+
- color: 008672
16+
name: help wanted
17+
description: Extra attention is needed
18+
- color: e4e669
19+
name: invalid
20+
description: This doesn't seem right
21+
- color: d876e3
22+
name: question
23+
description: Further information is requested
24+
- color: ffffff
25+
name: wontfix
26+
description: This will not be worked on
27+
28+
# Labels specific to cloudalchemy
29+
- color: 0366d6
30+
name: area/docs
31+
description: Improvements or additions to documentation
32+
- color: 0366d6
33+
name: area/tests
34+
description: Everything related to molecule tests and linters
35+
- color: 0366d6
36+
name: area/automation
37+
description: Bots, bots everywhere
38+
- color: 0366d6
39+
name: area/vars
40+
description: Ansible variables used in role
41+
- color: 0366d6
42+
name: area/tasks
43+
description: Logic behind ansible role
44+
- color: 0366d6
45+
name: area/jinja
46+
description: Templates

.github/workflows/labeler.yml

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

.github/workflows/labels.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
name: Sync labels in the declarative way
3+
on:
4+
push:
5+
branches:
6+
- master
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/[email protected]
12+
- uses: micnncim/[email protected]
13+
env:
14+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
15+
GITHUB_REPOSITORY: ${{ github.repository }}
16+
with:
17+
manifest: .github/labels.yml

.yamllint

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ extends: default
22
ignore: |
33
.travis/
44
.travis.yml
5+
.github/
56
meta/
67

78
rules:

0 commit comments

Comments
 (0)