Skip to content

Commit

Permalink
Merge pull request #30 from DasunThathsara/dasun
Browse files Browse the repository at this point in the history
Update actions
  • Loading branch information
DasunThathsara authored Sep 23, 2023
2 parents 561993d + 051caa2 commit d8e9896
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 37 deletions.
58 changes: 22 additions & 36 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,38 +1,24 @@
# .github/labeler.yml
name: Labeler

# Define label rules
label_rules:
- name: "bug"
conditions:
- "bug"
- "error"
- "issue"
- name: "feature"
conditions:
- "feature"
- "enhancement"
- name: "documentation"
conditions:
- "documentation"
- "docs"
- name: "needs-review"
conditions:
- "needs-review"
- "review"
- name: "good-first-issue"
conditions:
- "good first issue"
- "beginner-friendly"
on:
issues:
types:
- opened
- edited
pull_request:
types:
- opened
- synchronize

# Define label color (optional)
label_colors:
- name: "bug"
color: "d73a4a"
- name: "feature"
color: "a2eeef"
- name: "documentation"
color: "0075ca"
- name: "needs-review"
color: "fbca04"
- name: "good-first-issue"
color: "7057ff"
jobs:
labeler:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Run Labeler Action
uses: actions/labeler@v4
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
1 change: 0 additions & 1 deletion app/controllers/Users.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ public function login(){
else{
if ($this->userModel->findUserByEmail($data['email'])){
// User found

}
else{
// User not found
Expand Down

0 comments on commit d8e9896

Please sign in to comment.