Skip to content

Commit

Permalink
fixing unrelated histories
Browse files Browse the repository at this point in the history
  • Loading branch information
Imiler committed Jul 18, 2024
2 parents 5c084a7 + 8d599cc commit fade750
Show file tree
Hide file tree
Showing 23 changed files with 1,134 additions and 197 deletions.
19 changes: 19 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Feature:
- head-branch: ['^feature', 'feature']
Hotfix:
- head-branch: ['^hotfix', 'hotfix']
Documentation:
- changed-files:
- any-glob-to-any-file: '**/*.md'
CICD:
- changed-files:
- any-glob-to-any-file: '.github/**'

typescript:
- changed-files:
- any-glob-to-any-file: '**/*.ts'
css:
- changed-files:
- any-glob-to-any-file: '**/*.css'


33 changes: 33 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Description

Please include a summary of the changes and the related issue. Please also include relevant motivation and context. List any dependencies that are required for this change.

Fixes # (issue)

## Type of change

Please delete options that are not relevant.

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] This change requires a documentation update

# How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

- [ ] Test A
- [ ] Test B


# Checklist:

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] I have added tests or screenshots that prove my fix is effective or that my feature works
- [ ] Any dependent changes have been merged and published in downstream modules

4 changes: 4 additions & 0 deletions .github/reviewers.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
reviewers:
defaults:
- repository-owners
- bbrauneck
12 changes: 12 additions & 0 deletions .github/workflows/commit-message-validator.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Commit linter
on:
pull_request:
branches: [main, master]
jobs:
commitlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: wagoid/commitlint-github-action@v4
2 changes: 1 addition & 1 deletion .github/workflows/dependabot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
steps:
- name: Dependabot metadata
id: dependabot-metadata
uses: dependabot/fetch-metadata@v1.2.1
uses: dependabot/fetch-metadata@v2.2.0
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Approve a PR
Expand Down
47 changes: 47 additions & 0 deletions .github/workflows/labelling.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: label PRs
on:
pull_request:
branches: [dev, master]
jobs:
size-label:
needs: pr-reviewer
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- name: size-label
uses: "pascalgn/size-label-action@v0.5.0"
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
with:
sizes: >
{
"0": "XS",
"20": "S",
"50": "M",
"200": "L",
"800": "XL",
"2000": "XXL"
}
- name: general-labels
uses: actions/labeler@v5
with:
sync-labels: true
pr-reviewer:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
token: ${{ secrets.PAT || secrets.GITHUB_TOKEN }}
fetch-depth: 0
- name: Request review and assign
uses: necojackarc/auto-request-review@v0.13.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
config: .github/reviewers.yml
use_local: true
2 changes: 1 addition & 1 deletion .github/workflows/megalinter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
token: ${{ secrets.PAT || secrets.GITHUB_TOKEN }}
fetch-depth: 0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tagging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
token: ${{ secrets.PAT || secrets.GITHUB_TOKEN }}
fetch-depth: 0
Expand Down
Loading

0 comments on commit fade750

Please sign in to comment.