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
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @aamoghS
11 changes: 11 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
feature:
- head-branch: ['^feature/', '^feat/', '^enhancement/']
bug:
- head-branch: ['^bug/', '^fix/', '^hotfix/']
chore:
- head-branch: ['^chore/', '^task/']
documentation:
- head-branch: ['^doc/', '^docs/']
dependencies:
- changed-files:
- any-glob-to-any-file: ['package.json', 'package-lock.json', 'pnpm-lock.yaml']
9 changes: 1 addition & 8 deletions .github/pull.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,11 @@
version: "1"
rules:
- base: main
upstream: DataScience-GT:main
mergeMethod: hardreset
mergeUnstable: true
upstream: dev
reviewers:
- aamoghS

- base: dev
upstream: main
assignees:
- aamoghS
reviewers:
- aamoghS
conflictReviewers:
- aamoghS

Expand Down
29 changes: 29 additions & 0 deletions .github/workflows/dev-to-main-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Auto PR dev to main

on:
push:
branches:
- dev

jobs:
create-pull-request:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Create or Update PR
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh pr create \
--base main \
--head dev \
--title "Sync: dev to main" \
--body "Automated PR tracking changes from \`dev\` into \`main\`." \
--reviewer aamoghS \
--assignee aamoghS \
--label ":arrow_heading_down: pull" || true
31 changes: 31 additions & 0 deletions .github/workflows/feature-to-dev-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Auto PR feature to dev

on:
push:
branches-ignore:
- main
- dev
- 'dependabot/**'

jobs:
create-pull-request:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Create or Update PR
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh pr create \
--base dev \
--head ${{ github.ref_name }} \
--title "Feature: ${{ github.ref_name }} to dev" \
--body "Automated PR tracking changes from \`${{ github.ref_name }}\` into \`dev\`." \
--reviewer aamoghS \
--assignee aamoghS \
--label ":arrow_heading_down: pull" || true
12 changes: 12 additions & 0 deletions .github/workflows/label.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: "Pull Request Labeler"
on:
- pull_request_target

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