diff options
Diffstat (limited to 'pkg/runner/testdata/mask-values')
-rw-r--r-- | pkg/runner/testdata/mask-values/composite/action.yml | 12 | ||||
-rw-r--r-- | pkg/runner/testdata/mask-values/push.yml | 12 |
2 files changed, 24 insertions, 0 deletions
diff --git a/pkg/runner/testdata/mask-values/composite/action.yml b/pkg/runner/testdata/mask-values/composite/action.yml new file mode 100644 index 0000000..08a1b79 --- /dev/null +++ b/pkg/runner/testdata/mask-values/composite/action.yml @@ -0,0 +1,12 @@ +name: composite +description: composite + +runs: + using: composite + steps: + - run: echo "secret value" + shell: bash + - run: echo "::add-mask::$(echo "abc" | base64)" + shell: bash + - run: echo "abc" | base64 + shell: bash diff --git a/pkg/runner/testdata/mask-values/push.yml b/pkg/runner/testdata/mask-values/push.yml new file mode 100644 index 0000000..befe73f --- /dev/null +++ b/pkg/runner/testdata/mask-values/push.yml @@ -0,0 +1,12 @@ +name: mask-values +on: push + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - run: echo "::add-mask::secret value" + - run: echo "secret value" + - uses: ./mask-values/composite + - run: echo "YWJjCg==" |