diff options
Diffstat (limited to 'pkg/runner/testdata/remote-action-js-node-user/push.yml')
-rw-r--r-- | pkg/runner/testdata/remote-action-js-node-user/push.yml | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/pkg/runner/testdata/remote-action-js-node-user/push.yml b/pkg/runner/testdata/remote-action-js-node-user/push.yml new file mode 100644 index 0000000..8bf45da --- /dev/null +++ b/pkg/runner/testdata/remote-action-js-node-user/push.yml @@ -0,0 +1,30 @@ +name: remote-action-js +on: push + +jobs: + test: + runs-on: ubuntu-latest + container: + image: node:16-buster-slim + options: --user node + steps: + - name: check permissions of env files + id: test + run: | + echo "USER: $(id -un) expected: node" + [[ "$(id -un)" = "node" ]] + echo "TEST=Value" >> $GITHUB_OUTPUT + shell: bash + + - name: check if file command worked + if: steps.test.outputs.test != 'Value' + run: | + echo "steps.test.outputs.test=${{ steps.test.outputs.test || 'missing value!' }}" + exit 1 + shell: bash + + - uses: actions/hello-world-javascript-action@v1 + with: + who-to-greet: 'Mona the Octocat' + + - uses: cloudposse/actions/github/slash-command-dispatch@0.14.0 |