Skip to content

Commit

Permalink
Merge branch 'main' into feature/update-docs
Browse files Browse the repository at this point in the history
  • Loading branch information
MrHinsh committed Jul 26, 2024
2 parents 337ab49 + cd49e40 commit 24f5e25
Show file tree
Hide file tree
Showing 84 changed files with 1,657 additions and 761 deletions.
33 changes: 33 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Add 'Documentation' label to any changes within 'docs' folder or any subfolders
documentation:
- changed-files:
- any-glob-to-any-file: docs/**

# Add 'source' label to any change to src files within the source dir EXCEPT for the docs sub-folder
build-action:
- changed-files:
- any-glob-to-any-file: ['build/**', '.github/workflows/**']
- head-branch: ['^build', 'build']

enhancement:
- changed-files:
- any-glob-to-any-file: ['src/**']

enhancement-classic:
- changed-files:
- any-glob-to-any-file: ['src/MigrationTools/_EngineV1/**', 'src/VstsSyncMigrator*/**']

enhancement-modern:
- changed-files:
- any-glob-to-any-file: ['src/**']
- all-globs-to-all-files: ['!src/MigrationTools/_EngineV1/**', '!src/VstsSyncMigrator*/**']

# Add 'feature' label to any PR where the head branch name starts with `feature` or has a `feature` section in the name
feature:
- head-branch: ['^feature', 'feature', '^topic', 'topic']

# Add 'bug' label to any PR
bug:
- head-branch: ['^fix', 'fix','^bug', 'bug']


6 changes: 3 additions & 3 deletions .github/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ changelog:
- '*'
exclude:
labels:
- dependencies
- title: 👒 Dependencies
- architecture
- title: 👒 Architecture Improvements
labels:
- dependencies
- architecture
26 changes: 26 additions & 0 deletions .github/workflows/code-review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: OpenAI - Code Review

permissions:
contents: read
pull-requests: write

on:
pull_request:
types: [opened, reopened]

jobs:
code-review:
runs-on: ubuntu-latest
steps:
- uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: ${{ secrets.NKDAGILITY_BOT_APP_ID }}
private-key: ${{ secrets.NKDAGILITY_BOT_CLIENTSECRET }}
- uses: fitomad/github-chatgpt-integration@main
with:
openai-api-key: ${{ secrets.OPENAI_API_KEY }}
github-token: ${{ steps.app-token.outputs.token }}
github-pr-id: ${{ github.event.number }}
dev-lang: c#
openai-max-tokens: 4096
14 changes: 14 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: "Pull Request Labeler"
on:
- pull_request_target

jobs:
labeler:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v5
with:
sync-labels: true
Loading

0 comments on commit 24f5e25

Please sign in to comment.