-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #30 from rainforestapp/revert-29-RF-27572/pp/escap…
…e-strings Revert "[RF-27572] Handle quotes in passed in parameters"
- Loading branch information
Showing
3 changed files
with
135 additions
and
174 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,10 +8,6 @@ jobs: | |
shell: bash | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Run ShellCheck | ||
uses: ludeeus/[email protected] | ||
with: | ||
scandir: './steps' | ||
- name: Install faketime | ||
run: | | ||
sudo apt-get update | ||
|
@@ -96,21 +92,6 @@ jobs: | |
with: | ||
actual: ${{ steps.test_branch.outputs.command }} | ||
expected: run --skip-update --token "test_token" --run-group 42 --junit-file results/rainforest/junit.xml --save-run-id .rainforest_run_id --branch "feature-branch" --description "foo bar" --release "1.0" | ||
- name: Quoted parameters command | ||
id: test_quoted_parameters | ||
uses: ./ | ||
with: | ||
token: test_token | ||
run_group_id: 42 | ||
description: something"exit 1 | ||
branch: some name"exit 2 | ||
release: some sha"exit 3 | ||
dry_run: true | ||
- name: Quoted parameters test | ||
uses: ./.github/actions/test | ||
with: | ||
actual: ${{ steps.test_quoted_parameters.outputs.command }} | ||
expected: run --skip-update --token "test_token" --run-group 42 --junit-file results/rainforest/junit.xml --save-run-id .rainforest_run_id --branch "some name\"exit 2" --description "something\"exit 1" --release "some sha\"exit 3" | ||
- name: Missing token command | ||
id: test_missing_token | ||
uses: ./ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.