Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 0 additions & 25 deletions .github/ISSUE_TEMPLATE/BUGFIX.md

This file was deleted.

23 changes: 0 additions & 23 deletions .github/ISSUE_TEMPLATE/DOCUMENTATION.md

This file was deleted.

24 changes: 0 additions & 24 deletions .github/ISSUE_TEMPLATE/FEATURE.md

This file was deleted.

8 changes: 0 additions & 8 deletions .github/ISSUE_TEMPLATE/config.yml

This file was deleted.

25 changes: 0 additions & 25 deletions .github/PULL_REQUEST_TEMPLATE.md

This file was deleted.

7 changes: 7 additions & 0 deletions .github/workflows/PUSH-MASTER.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,17 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2.3.4

- name: Download labels' config
shell: bash
run: |
mkdir -p .tmp
curl -LsS https://raw.githubusercontent.com/devops-infra/.github/master/.github/labels.yml -o .tmp/labels.yml

- name: Update labels
uses: crazy-max/ghaction-github-labeler@v3.1.1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
yaml-file: .tmp/labels.yml

example:
name: Example
Expand Down
25 changes: 19 additions & 6 deletions .github/workflows/PUSH-OTHER.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,17 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2.3.4

- name: Download labels' config
shell: bash
run: |
mkdir -p .tmp
curl -LsS https://raw.githubusercontent.com/devops-infra/.github/master/.github/labels.yml -o .tmp/labels.yml

- name: Update labels - dry run
uses: crazy-max/ghaction-github-labeler@v3.1.1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
yaml-file: .tmp/labels.yml
dry-run: true

example:
Expand All @@ -38,14 +45,20 @@ jobs:
with:
fetch-depth: 0

- name: Download Pull Request template
shell: bash
run: |
mkdir -p .tmp
curl -LsS https://raw.githubusercontent.com/devops-infra/.github/master/PULL_REQUEST_TEMPLATE.md -o .tmp/PULL_REQUEST_TEMPLATE.md

- name: Create pull request - bugfix (conditional)
if: startsWith(github.ref, 'refs/heads/bugfix')
uses: devops-infra/action-pull-request@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
assignee: ${{ github.actor }}
label: bugfix
template: .github/PULL_REQUEST_TEMPLATE.md
template: .tmp/PULL_REQUEST_TEMPLATE.md
get_diff: true

- name: Create pull request - dependency (conditional)
Expand All @@ -55,7 +68,7 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}
assignee: ${{ github.actor }}
label: dependency
template: .github/PULL_REQUEST_TEMPLATE.md
template: .tmp/PULL_REQUEST_TEMPLATE.md
get_diff: true

- name: Create pull request - documentation (conditional)
Expand All @@ -65,7 +78,7 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}
assignee: ${{ github.actor }}
label: documentation
template: .github/PULL_REQUEST_TEMPLATE.md
template: .tmp/PULL_REQUEST_TEMPLATE.md
get_diff: true

- name: Create pull request - feature (conditional)
Expand All @@ -75,7 +88,7 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}
assignee: ${{ github.actor }}
label: feature
template: .github/PULL_REQUEST_TEMPLATE.md
template: .tmp/PULL_REQUEST_TEMPLATE.md
get_diff: true

- name: Create pull request - test (conditional)
Expand All @@ -86,7 +99,7 @@ jobs:
assignee: ${{ github.actor }}
reviewer: ${{ github.actor }}
label: test
template: .github/PULL_REQUEST_TEMPLATE.md
template: .tmp/PULL_REQUEST_TEMPLATE.md
draft: true
get_diff: true

Expand All @@ -97,5 +110,5 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}
assignee: ${{ github.actor }}
label: feature
template: .github/PULL_REQUEST_TEMPLATE.md
template: .tmp/PULL_REQUEST_TEMPLATE.md
get_diff: true
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
###################################################################################################
# Custom
.tmp/

###################################################################################################
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Rules for contribution are very simple.
* Updates of dependent packages should be pushed to branches starting with `dependency/...`.
* Updates to documentation should be pushed to branches starting with `documentation/...`.
* New features should be pushed to branches starting with `feature/...`.
* For testing linting, build process, etc. without opening use branches starting with `test/...`.
* For testing linting, build process, etc. with opening draft PR use branches starting with `test/...`.
* If the changes apply to more than one category any other name best fitting should be used.


Expand Down