Skip to content

Commit 3d1d8c0

Browse files
committed
Make testing example in README use same parameter order as documentation
1 parent d8eb6a2 commit 3d1d8c0

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

README.md

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -60,17 +60,18 @@ When deploying an app you may need to deploy additional services, this Github Ac
6060
You can test out the action locally by cloning the repository to your computer. You can run:
6161
6262
```shell
63+
INPUT_OWNER="keithconvictional" \
64+
INPUT_REPO="myrepo" \
65+
INPUT_GITHUB_TOKEN="<REDACTED>" \
66+
INPUT_GITHUB_USER="github-user" \
67+
INPUT_WORKFLOW_FILE_NAME="main.yml" \
68+
INPUT_REF="release-branch" \
6369
INPUT_WAIT_INTERVAL=10 \
64-
INPUT_PROPAGATE_FAILURE=false \
65-
INPUT_TRIGGER_WORKFLOW=true \
66-
INPUT_WORKFLOW_FILE_NAME="main.yml" \
67-
INPUT_GITHUB_USER="github-user" \
68-
INPUT_WAIT_WORKFLOW=true \
69-
INPUT_OWNER="keithconvictional" \
70-
INPUT_REPO="trigger-workflow-and-wait-example-repo1" \
71-
INPUT_GITHUB_TOKEN="<REDACTED>" \
72-
INPUT_CLIENT_PAYLOAD='{}' \
73-
busybox sh entrypoint.sh
70+
INPUT_CLIENT_PAYLOAD='{}' \
71+
INPUT_PROPAGATE_FAILURE=false \
72+
INPUT_TRIGGER_WORKFLOW=true \
73+
INPUT_WAIT_WORKFLOW=true \
74+
busybox sh entrypoint.sh
7475
```
7576

7677
You will have to create a Github Personal access token. You can create a test workflow to be executed. In a repository, add a new `main.yml` to `.github/workflows/`. The workflow will be:

0 commit comments

Comments
 (0)