Skip to content

Commit

Permalink
add GitHub actions - auto assign #20
Browse files Browse the repository at this point in the history
  • Loading branch information
davydocsurg committed Apr 13, 2023
1 parent fc94d72 commit 673eae6
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
19 changes: 19 additions & 0 deletions .github/workflow/auto-assign.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Auto Assign
on:
issues:
types: [opened]
pull_request:
types: [opened]
jobs:
run:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- name: "Auto-assign issue"
uses: pozil/auto-assign-issue@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
assignees: davydocsurg
numOfAssignee: 1
1 change: 1 addition & 0 deletions src/models/v1/Stock.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ const StockSchema: Schema = new mongoose.Schema(
},

location: {
// location to include longitude and latitude
type: String,
required: [true, "Location is required"],
},
Expand Down
1 change: 0 additions & 1 deletion src/types/AuthRequest.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { Request } from "express";
import type { User } from "./User";

export interface AuthRequest extends Request {
user: any;
Expand Down

0 comments on commit 673eae6

Please sign in to comment.