From 25eb00f64c503a39ffe4f6fc35733224a661d266 Mon Sep 17 00:00:00 2001 From: Mathias Scherer Date: Wed, 25 Oct 2023 16:58:05 +0200 Subject: [PATCH] ci(OS-798): use base_ref as default instead of head_ref --- .github/workflows/subgraph-deploy.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/subgraph-deploy.yaml b/.github/workflows/subgraph-deploy.yaml index de6be8a03..057aad027 100644 --- a/.github/workflows/subgraph-deploy.yaml +++ b/.github/workflows/subgraph-deploy.yaml @@ -55,7 +55,7 @@ jobs: with: commit_message: 'Update changelog in subgraph' repo: ${{ github.repository }} - branch: ${{ github.head_ref || github.ref_name }} + branch: ${{ github.base_ref || github.head_ref || github.ref_name }} file_pattern: 'packages/subgraph/CHANGELOG.md' env: GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}