diff --git a/.github/workflows/check-git-apply.yaml b/.github/workflows/check-git-apply.yaml index 7ef9e5d1..4a9fe260 100644 --- a/.github/workflows/check-git-apply.yaml +++ b/.github/workflows/check-git-apply.yaml @@ -22,12 +22,20 @@ on: default: '' env: - GITHUB_SHA: ${{ github.event.inputs.rtag }} + RTAG: ${{ github.event.inputs.rtag }} jobs: build: runs-on: ubuntu-latest - steps: + steps: + + - name: "Get value from dispatch" + run: | + if [ -z "${RTAG}" ]; then + echo "GITHUB_SHA=$RTAG" >> $GITHUB_ENV + echo "RTAG=$RTAG" + fi + - name: Prepare container run: | sudo apt update