From 04ba1e1214ca595a1f76ac01f23317c3ee0843c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Magnus=20M=C3=A6hlum?= Date: Thu, 3 Oct 2024 20:29:19 +0200 Subject: [PATCH] Fix branch refs --- .github/workflows/memory.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/memory.yml b/.github/workflows/memory.yml index c5e5d7b9..b981538d 100644 --- a/.github/workflows/memory.yml +++ b/.github/workflows/memory.yml @@ -1,9 +1,6 @@ name: Memory usage report on: - push: - branches: - - main pull_request: permissions: @@ -25,11 +22,11 @@ jobs: - name: Generate memory usage report (current branch) uses: ./.github/actions/memory-report with: - branch: ${GITHUB_REF##*/} + branch: ${{ github.head_ref }} - name: Generate memory usage report (main) uses: ./.github/actions/memory-report with: - branch: main + branch: ${{ github.base_ref }} # - name: Checkout main # uses: actions/checkout@v3