This repository has been archived by the owner on May 31, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 308
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🤖 sync with cloudalchemy/skeleton (SHA: a2752423): .github/workflows:…
… less frequent label sync
- Loading branch information
1 parent
65fab77
commit 27f1e52
Showing
6 changed files
with
129 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
--- | ||
# configuration spec at https://github.com/actions/labeler/blob/master/README.md | ||
area/docs: | ||
- meta/* | ||
- CHANGELOG.md | ||
- CONTRIBUTING.md | ||
- LICENSE | ||
- README.md | ||
area/tests: | ||
- molecule/* | ||
- molecule/**/* | ||
- .ansible-lint | ||
- test-requirements.txt | ||
- tox.ini | ||
area/automation: | ||
- .travis/* | ||
- .github/* | ||
- .github/**/* | ||
- .travis.yml | ||
- .mergify.yml | ||
area/vars: | ||
- defaults/* | ||
- vars/* | ||
- vars/**/* | ||
area/tasks: | ||
- handlers/* | ||
- tasks/* | ||
- tasks/**/* | ||
area/jinja: | ||
- templates/* | ||
- templates/**/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
--- | ||
# Default GitHub labels | ||
- color: d73a4a | ||
name: bug | ||
description: Something isn't working | ||
- color: cfd3d7 | ||
name: duplicate | ||
description: This issue or pull request already exists | ||
- color: a2eeef | ||
name: enhancement | ||
description: New feature or request | ||
- color: 7057ff | ||
name: good first issue | ||
description: Good for newcomers | ||
- color: 008672 | ||
name: help wanted | ||
description: Extra attention is needed | ||
- color: e4e669 | ||
name: invalid | ||
description: This doesn't seem right | ||
- color: d876e3 | ||
name: question | ||
description: Further information is requested | ||
- color: ffffff | ||
name: wontfix | ||
description: This will not be worked on | ||
|
||
# Labels specific to cloudalchemy | ||
- color: 0366d6 | ||
name: area/docs | ||
description: Improvements or additions to documentation | ||
- color: 0366d6 | ||
name: area/tests | ||
description: Everything related to molecule tests and linters | ||
- color: 0366d6 | ||
name: area/automation | ||
description: Bots, bots everywhere | ||
- color: 0366d6 | ||
name: area/vars | ||
description: Ansible variables used in role | ||
- color: 0366d6 | ||
name: area/tasks | ||
description: Logic behind ansible role | ||
- color: 0366d6 | ||
name: area/jinja | ||
description: Templates |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
# This workflow will triage pull requests and apply a label based on the | ||
# paths that are modified in the pull request. | ||
# | ||
# To use this workflow, you will need to set up a .github/labeler.yml | ||
# file with configuration. For more information, see: | ||
# https://github.com/actions/labeler/blob/master/README.md | ||
|
||
name: Labeler | ||
on: [pull_request] | ||
|
||
jobs: | ||
label: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/labeler@v2 | ||
with: | ||
repo-token: "${{ secrets.GITHUB_TOKEN }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
name: Sync labels in the declarative way | ||
on: | ||
push: | ||
branches: | ||
- master | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: micnncim/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GITHUB_REPOSITORY: ${{ github.repository }} | ||
with: | ||
manifest: .github/labels.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
pull_request_rules: | ||
- name: automatic merge and new release from cloudalchemybot | ||
conditions: | ||
- "status-success=Travis CI - Pull Request" | ||
- status-success=WIP | ||
- head~=autoupdate|skeleton | ||
- author=cloudalchemybot | ||
actions: | ||
merge: | ||
method: squash | ||
strict: true | ||
- name: delete head branch after merge | ||
conditions: [] | ||
actions: | ||
delete_head_branch: {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ extends: default | |
ignore: | | ||
.travis/ | ||
.travis.yml | ||
.github/ | ||
meta/ | ||
|
||
rules: | ||
|