From 91a457c87c7ede48d591fa3c809509cda726b987 Mon Sep 17 00:00:00 2001 From: sultanmyrza Date: Tue, 1 Aug 2023 14:33:53 +0800 Subject: [PATCH] feat(ci): Update GitHub Actions workflow This commit updates the GitHub Actions workflow in the `.github/workflows/test.yml` file. The changes include adjusting the trigger conditions for the workflow. Previously, the workflow ran on push events for branches `master`, `develop`, `feature-*`, `fix-*`, and `hotfix-*`. Now, the workflow will also trigger on pull requests. This modification ensures that the workflow runs when pull requests are created or updated, providing better coverage for continuous integration testing. --- .github/workflows/test.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 118737525..16199a750 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,8 +1,6 @@ name: test -on: - push: - branches: [master, develop, 'feature-*', 'fix-*', 'hotfix-*'] +on: [push, pull_request] jobs: lint: