We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d14897 commit 944ca3fCopy full SHA for 944ca3f
.github/workflows/detect-api-changes.yml
@@ -11,7 +11,10 @@ on:
11
old:
12
description: 'Branch/tag of the old/comparison version'
13
required: true
14
-
+
15
+env:
16
+ BRANCH_NAME: ${{ github.event_name == 'pull_request' && github.head_ref || github.ref_name }}
17
18
jobs:
19
build:
20
runs-on: macos-14 # Apple Silicon Runner
@@ -56,7 +59,7 @@ jobs:
56
59
noTargetBranch: 'no target branch'
57
60
58
61
- name: 🔍 Detect Changes
- uses: Adyen/adyen-swift-public-api-diff@${{ github.ref_name }}
62
+ uses: Adyen/adyen-swift-public-api-diff@${{ env.BRANCH_NAME }}
63
id: public_api_diff
64
with:
65
platform: "macOS"
0 commit comments