Skip to content

Commit

Permalink
Use version for PR in the action (#668)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tompage1994 authored Aug 9, 2023
1 parent 6ed45e5 commit 8b97ad0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci_standalone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,4 @@ jobs:
uses: "./.github/workflows/ci_standalone_versioned.yml"
with:
awx_version: ${{ matrix.awx_version }}
gh_ref: ${{ github.event.pull_request.head.sha || github.sha }}
7 changes: 7 additions & 0 deletions .github/workflows/ci_standalone_versioned.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ on:
description: The version to pull of awx
required: true
type: string
gh_ref:
description: The ref in the repository to pull
required: false
default: devel
type: string
env:
# Run docker-compose up in the background
COMPOSE_UP_OPTS: -d
Expand All @@ -17,6 +22,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: ${{ gh_ref }}

- name: Checkout AWX
uses: actions/checkout@v2
Expand Down

0 comments on commit 8b97ad0

Please sign in to comment.