From d249b6a529d3bfb8795da9f88acf22ce35896d49 Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Mon, 1 Jul 2024 11:43:36 -0400 Subject: [PATCH] chore: only run date updates on main branch --- .github/workflows/kicad-dates.yaml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/kicad-dates.yaml b/.github/workflows/kicad-dates.yaml index fc2fa21..701182a 100644 --- a/.github/workflows/kicad-dates.yaml +++ b/.github/workflows/kicad-dates.yaml @@ -1,9 +1,7 @@ on: push: - paths: - - '*.kicad_sch' - - '*.kicad_pcb' - pull_request: + branches: + - main paths: - '*.kicad_sch' - '*.kicad_pcb' @@ -19,7 +17,6 @@ jobs: - name: Checkout uses: actions/checkout@v4 with: - ref: ${{ github.head_ref }} fetch-depth: 0 - name: Get changed PCB files