summaryrefslogtreecommitdiffstats
path: root/pkg/runner/testdata/do-not-leak-step-env-in-composite/push.yml
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/runner/testdata/do-not-leak-step-env-in-composite/push.yml')
-rw-r--r--pkg/runner/testdata/do-not-leak-step-env-in-composite/push.yml18
1 files changed, 18 insertions, 0 deletions
diff --git a/pkg/runner/testdata/do-not-leak-step-env-in-composite/push.yml b/pkg/runner/testdata/do-not-leak-step-env-in-composite/push.yml
new file mode 100644
index 0000000..1bebab0
--- /dev/null
+++ b/pkg/runner/testdata/do-not-leak-step-env-in-composite/push.yml
@@ -0,0 +1,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' \ No newline at end of file