Skip to content

Commit

Permalink
Fix branch refs
Browse files Browse the repository at this point in the history
  • Loading branch information
magnmaeh committed Oct 3, 2024
1 parent c38f0d9 commit 04ba1e1
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/memory.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
name: Memory usage report

on:
push:
branches:
- main
pull_request:

permissions:
Expand All @@ -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
Expand Down

0 comments on commit 04ba1e1

Please sign in to comment.