Skip to content

Merge pull request #47 from redis/fix_unstable_checkout_refs #187

Merge pull request #47 from redis/fix_unstable_checkout_refs

Merge pull request #47 from redis/fix_unstable_checkout_refs #187

Workflow file for this run

name: Build Pull Request
on:
pull_request:
branches:
- master
- release/*
- unstable
push:
branches:
- master
- release/*
- unstable
workflow_dispatch:
workflow_call:
jobs:
build-n-test:
uses: ./.github/workflows/build-n-test-all-distros.yml

Check failure on line 19 in .github/workflows/apt.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/apt.yml

Invalid workflow file

error parsing called workflow ".github/workflows/apt.yml" -> "./.github/workflows/build-n-test-all-distros.yml" (source branch with sha:24baecd9e5997498feb378cc4419c01a0eb443f3) : (Line: 32, Col: 7): Unexpected value 'ref', (Line: 58, Col: 7): Unexpected value 'ref', (Line: 103, Col: 7): Unexpected value 'ref'
with:
BUILD_DISTS: ${{ vars.BUILD_DISTS }}
BUILD_ARCHS: ${{ vars.BUILD_ARCHS }}
BUILD_EXCLUDE: ${{ vars.BUILD_EXCLUDE }}
SMOKE_TEST_IMAGES: ${{ vars.SMOKE_TEST_IMAGES }}
release_tag: >-
${{ (github.ref_name == 'unstable'
|| github.event_name == 'workflow_dispatch'
|| github.event_name == 'workflow_call')
&& 'unstable'
|| ''
}}
checkout_ref: ${{ github.ref_name == 'unstable' && 'unstable' || '' }}