Skip to content

armgit / plane

Public Imported from GitHub
0

πŸ”₯πŸ”₯πŸ”₯ Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.

fix: build test pull request changes

sriram veeraghanta3d14c9d9fe08
diff --git a/.github/workflows/build-test-pull-request.yml b/.github/workflows/build-test-pull-request.yml
index 29ed45dfed..227425c8f1 100644
--- a/.github/workflows/build-test-pull-request.yml
+++ b/.github/workflows/build-test-pull-request.yml
@@ -6,49 +6,9 @@ on:
types: ["opened", "synchronize", "ready_for_review"]
jobs:
- get-changed-files:
- if: github.event.pull_request.draft == false
- runs-on: ubuntu-latest
- outputs:
- apiserver_changed: ${{ steps.changed-files.outputs.apiserver_any_changed }}
- admin_changed: ${{ steps.changed-files.outputs.admin_any_changed }}
- space_changed: ${{ steps.changed-files.outputs.space_any_changed }}
- web_changed: ${{ steps.changed-files.outputs.web_any_changed }}
- steps:
- - uses: actions/checkout@v4
- - name: Get changed files
- id: changed-files
- uses: tj-actions/changed-files@v44
- with:
- files_yaml: |
- apiserver:
- - apiserver/**
- admin:
- - admin/**
- - packages/**
- - 'package.json'
- - 'yarn.lock'
- - 'tsconfig.json'
- - 'turbo.json'
- space:
- - space/**
- - packages/**
- - 'package.json'
- - 'yarn.lock'
- - 'tsconfig.json'
- - 'turbo.json'
- web:
- - web/**
- - packages/**
- - 'package.json'
- - 'yarn.lock'
- - 'tsconfig.json'
- - 'turbo.json'
-
lint-apiserver:
- needs: get-changed-files
+ if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
- if: needs.get-changed-files.outputs.apiserver_changed == 'true'
steps:
- uses: actions/checkout@v4
- name: Set up Python
@@ -63,8 +23,7 @@ jobs:
run: ruff check --fix apiserver
lint-admin:
- needs: get-changed-files
- if: needs.get-changed-files.outputs.admin_changed == 'true'
+ if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
@@ -76,8 +35,7 @@ jobs:
- run: yarn lint --filter=admin
lint-space:
- needs: get-changed-files
- if: needs.get-changed-files.outputs.space_changed == 'true'
+ if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
@@ -89,8 +47,7 @@ jobs:
- run: yarn lint --filter=space
lint-web:
- needs: get-changed-files
- if: needs.get-changed-files.outputs.web_changed == 'true'
+ if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4