From f4c94ec1d8c516ffd8bcb866e0b587d9a2a162f6 Mon Sep 17 00:00:00 2001 From: Dasun Thathsara Date: Sat, 23 Sep 2023 10:42:06 +0530 Subject: [PATCH 1/2] Update labeler.yml --- .github/labeler.yml | 58 +++++++++++++++++---------------------------- 1 file changed, 22 insertions(+), 36 deletions(-) diff --git a/.github/labeler.yml b/.github/labeler.yml index 03005180..111405b3 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -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 }} From 051caa2a5c657b1d193c8041c75ed4c1b40a5da7 Mon Sep 17 00:00:00 2001 From: DasunThathsara Date: Sat, 23 Sep 2023 10:43:31 +0530 Subject: [PATCH 2/2] Update actions --- app/controllers/Users.php | 1 - 1 file changed, 1 deletion(-) diff --git a/app/controllers/Users.php b/app/controllers/Users.php index b14b1736..8283150c 100644 --- a/app/controllers/Users.php +++ b/app/controllers/Users.php @@ -110,7 +110,6 @@ public function login(){ else{ if ($this->userModel->findUserByEmail($data['email'])){ // User found - } else{ // User not found