Skip to content

Commit

Permalink
Update test_organization_installed.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-murray authored Apr 29, 2022
1 parent 014a612 commit d2bab2e
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/test_organization_installed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,26 @@ name: Test Success - organization - 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 d2bab2e

Please sign in to comment.