Skip to content

Commit

Permalink
COE-908: try to show branch on workflow_dispatch
Browse files Browse the repository at this point in the history
  • Loading branch information
Nam Nhat Pham committed Apr 14, 2023
1 parent 8dce598 commit 2d22fd6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ on:
default: "oee-dev"
required: true

branch:
description: 'The name of the branch to run the workflow on.'
required: true
default: ${GITHUB_REF#refs/heads/}

push:
branches: [ '*' ]

Expand All @@ -37,6 +42,7 @@ jobs:
uses: actions/checkout@v3
with:
path: 'repo'
ref: ${{ github.event.inputs.branch }}

- name: Check Environment
run:
Expand Down

0 comments on commit 2d22fd6

Please sign in to comment.