diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c94d78c24..9f3b86d2b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,10 +1,11 @@ - name: CI on: push: branches: - master + paths: + - "raven/**" pull_request: jobs: @@ -42,7 +43,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v4 with: - python-version: '3.10' + python-version: "3.10" - name: Setup Node uses: actions/setup-node@v3 @@ -88,7 +89,7 @@ jobs: bench --site test_site install-app raven bench build env: - CI: 'Yes' + CI: "Yes" - name: Run Tests working-directory: /home/runner/frappe-bench @@ -96,4 +97,4 @@ jobs: bench --site test_site set-config allow_tests true bench --site test_site run-tests --app raven env: - TYPE: server \ No newline at end of file + TYPE: server diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml deleted file mode 100644 index 947298934..000000000 --- a/.github/workflows/labeler.yml +++ /dev/null @@ -1,20 +0,0 @@ -name: "Pull Request Labeler" -on: - - pull_request_target -concurrency: - group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} - cancel-in-progress: true -jobs: - labeler: - permissions: - contents: read - pull-requests: write - runs-on: ubuntu-latest - steps: - - uses: actions/labeler@v4 - with: - repo-token: "${{ secrets.GITHUB_TOKEN }}" - # https://github.com/actions/labeler/issues/442#issuecomment-1297359481 - sync-labels: "" - configuration-path: ".github/labeler.yml" - dot: true diff --git a/.github/workflows/linters.yml b/.github/workflows/linters.yml index 1e1dc04ed..2aa29b77e 100644 --- a/.github/workflows/linters.yml +++ b/.github/workflows/linters.yml @@ -5,6 +5,8 @@ on: workflow_dispatch: push: branches: [main] + paths: + - "raven/**" jobs: linters: