Skip to content

Commit

Permalink
.github/workflows/merge: add input parameter (merge-results branch)
Browse files Browse the repository at this point in the history
Add an input parameter to select from which branch of the
iocost-benckmarks-ci repo to fetch the merge-results binary artifact
from.

This may be useful while making changes to the tool to check that it
works correctly in the workflow before merging the changes to main.

Signed-off-by: Ricardo Cañuelo <[email protected]>
  • Loading branch information
r-c-n committed Oct 11, 2024
1 parent 5dbc0a1 commit 00244ee
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ on:
schedule:
- cron: "0 1 * * 1"
workflow_dispatch:
inputs:
mergeResultsBranch:
description: "Branch to download the merge-results binary artifact from"
required: false
default: main
push:
branches:
- main
Expand All @@ -22,7 +27,7 @@ jobs:
with:
repo: ${{ format('{0}-ci', github.repository) }}
workflow: ci.yml
branch: main
branch: ${{ github.event.inputs.mergeResultsBranch }}

- name: Set merge-results binary permissions
run: |
Expand Down

0 comments on commit 00244ee

Please sign in to comment.