Skip to content

Commit

Permalink
Update test_repository_installed.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-murray authored Apr 29, 2022
1 parent d2bab2e commit a4618a9
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/test_repository_installed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,26 @@ name: Test Success - repository - installed
on:
push:
workflow_dispatch:
inputs:
branch:
description: The name of the branch to checkout for the action
required: true
default: main

jobs:
test:
runs-on: ubuntu-latest

steps:
- name: Checkout specified branch
if: github.event_name == 'workflow_dispatch'
uses: actions/checkout@v3
with:
ref: ${{ github.event.inputs.branch }}

- name: Checkout
uses: actions/checkout@v2
if: github.event_name != 'workflow_dispatch'
uses: actions/checkout@v3

- name: Use action
id: use_action
Expand Down

0 comments on commit a4618a9

Please sign in to comment.