From 0a4d03319d58eaa5c162bb0cbf220f630f7b8be6 Mon Sep 17 00:00:00 2001 From: Daniel Emery Date: Fri, 22 Sep 2023 20:08:14 +0200 Subject: [PATCH] #43 Rename build and test to validate PR and only run on PRs --- .github/workflows/{build-and-test.yaml => validate-pr.yaml} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename .github/workflows/{build-and-test.yaml => validate-pr.yaml} (90%) diff --git a/.github/workflows/build-and-test.yaml b/.github/workflows/validate-pr.yaml similarity index 90% rename from .github/workflows/build-and-test.yaml rename to .github/workflows/validate-pr.yaml index bc105d5..a452e76 100644 --- a/.github/workflows/build-and-test.yaml +++ b/.github/workflows/validate-pr.yaml @@ -1,8 +1,8 @@ -name: Build and test +name: Validate PR +description: | + This workflow validates pull requests by running unit tests and linting. on: - push: - branches: ['main'] pull_request: branches: ['main']