summary refs log tree commit diff
path: root/.github/workflows/dependabot_changelog.yml
diff options
context:
space:
mode:
authorDavid Robertson <davidr@element.io>2022-10-03 19:08:34 +0100
committerDavid Robertson <davidr@element.io>2022-10-03 19:09:33 +0100
commita34638c1265cb42c974ec34b541f8277fd5cb00b (patch)
tree18d450f73d2326f1b354102290079251bbdcb452 /.github/workflows/dependabot_changelog.yml
parentClear out old rows from `event_push_actions_staging` (#14020) (diff)
downloadsynapse-a34638c1265cb42c974ec34b541f8277fd5cb00b.tar.xz
Dependabot changelog: try using branch name
Gonna hope this doesn't use the merge ref and is good enough
Diffstat (limited to '.github/workflows/dependabot_changelog.yml')
-rw-r--r--.github/workflows/dependabot_changelog.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/dependabot_changelog.yml b/.github/workflows/dependabot_changelog.yml
index 51a39518cf..9294c87a16 100644
--- a/.github/workflows/dependabot_changelog.yml
+++ b/.github/workflows/dependabot_changelog.yml
@@ -45,8 +45,8 @@ jobs:
         # develop; use github.event.pull_request.head.ref above to commit to the PR
         # branch.
         run: |
-          gh workflow run "tests.yml" --ref "$GITHUB_REF"
-          gh workflow run "release-artifacts.yml" --ref "$GITHUB_REF"
+          gh workflow run "tests.yml" --ref "${{ github.event.pull_request.head.ref }}"
+          gh workflow run "release-artifacts.yml" --ref "${{ github.event.pull_request.head.ref }}"
         shell: bash
         env:
           GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}