summaryrefslogtreecommitdiffstats
path: root/pkg/runner/testdata/do-not-leak-step-env-in-composite/push.yml
blob: 1bebab0bf2f5caefb325dcbcd765de32f9e63b56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
on: push
jobs:
  _:
    runs-on: ubuntu-latest
    steps:
    - run: |
        runs:
          using: composite
          steps:
          - run: exit 1
            shell: bash
            if: env.LEAK_ENV != 'val'
      shell: cp {0} action.yml
    - uses: ./
      env:
        LEAK_ENV: val
    - run: exit 1
      if: env.LEAK_ENV == 'val'