diff --git a/actions/example-matrix-dynamic/.forgejo/workflows/test.yml b/actions/example-matrix-dynamic/.forgejo/workflows/test.yml index 170a009b..57a9bb89 100644 --- a/actions/example-matrix-dynamic/.forgejo/workflows/test.yml +++ b/actions/example-matrix-dynamic/.forgejo/workflows/test.yml @@ -47,3 +47,6 @@ jobs: set -x [ "${{ matrix.dimension-1 }}" = "d1 v1" ] || [ "${{ matrix.dimension-1 }}" = "d1 v2" ] || exit 1 [ "${{ matrix.dimension-2 }}" = "d2 v1" ] || [ "${{ matrix.dimension-2 }}" = "d2 v2" ] || exit 1 + + # should still be able to access other needs references unrelated to the dynamic matrix of this job + [ "${{ needs.define-matrix.outputs.scalar-value }}" = "scalar value" ] || exit 1