Skip to content

Commit

Permalink
try checkout from branch
Browse files Browse the repository at this point in the history
  • Loading branch information
lianbenjamin committed Jan 23, 2024
1 parent 75408aa commit bb4e25b
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/run_patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ name: Patch
run-name: Patch

on:
# push:
# branches:
# - '*'
push:
branches:
- '*'

workflow_dispatch:
# workflow_dispatch:
# inputs:
# branch:
# description: 'branch name'
Expand Down Expand Up @@ -54,6 +54,14 @@ jobs:
name=${GITHUB_REF#refs/heads/}
echo $name
echo "name=${name}" >> $GITHUB_OUTPUT
checkout_code:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
token: ${{ secrets.PLAYER_GITHUB_BOT_TOKEN }}
ref: $ {{ needs.branch-name.outputs.branch-name }}
# canary:
# uses: kaltura/playkit-js-common/.github/workflows/canary_player.yaml@master
# secrets: inherit
Expand Down

0 comments on commit bb4e25b

Please sign in to comment.