From 7f1d380f1b1b8a5a18d24dc4a9773efb675c5d0f Mon Sep 17 00:00:00 2001 From: OMPRAKASH MISHRA Date: Sat, 18 Nov 2023 18:03:34 -0800 Subject: [PATCH] reduce timeout and remove types. --- .github/workflows/pr.yml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 54ac456..83fbab1 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -1,18 +1,11 @@ name: On Pull Request to Main on: pull_request: - types: - - opened - - synchronize - - reopened - - ready_for_review - - labeled - - unlabeled - - edited branches: - main jobs: validate-changes: + if: '!github.event.pull_request.head.repo.fork' runs-on: ubuntu-22.04 strategy: matrix: @@ -21,7 +14,7 @@ jobs: params: --set-string global.secrets.databasePassword=test --set-string global.secrets.databaseUser=test --set-string global.secrets.databasePassword=databaseName - repo_name: pubcode params: '' - timeout-minutes: 10 + timeout-minutes: 2 steps: - uses: actions/checkout@v4 with: