Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
k8so committed Sep 12, 2024
1 parent dfaa751 commit e9c164f
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/test-workflow.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: sundar-test

on:
push:
branches:
- 'sundarv/**'
workflow_dispatch:
inputs:
branch:
description: 'LTS branch to execute the workflow for, such as 2.6.x'
required: true
jobs:
copy-docs:
runs-on: ubuntu-latest
steps:
- name: Get LTS branch version
id: lts-version
run: |
version=""
if [[ "${{ github.event_name }}" == "push" ]]; then
version="${{ github.event.push.base.ref }}"
echo "Ref: ${{ github.event.push.base.ref }}"
else
version=${{ github.event.inputs.branch }}
echo "Ref: ${{ github.event.push.base.ref }}"
echo "Ref_name: ${{ github.event.push.base.ref_name }}"
fi

0 comments on commit e9c164f

Please sign in to comment.