diff --git a/.github/workflows/test-yq.yml b/.github/workflows/test-yq.yml index 5e28adb8..ef34d144 100644 --- a/.github/workflows/test-yq.yml +++ b/.github/workflows/test-yq.yml @@ -1,5 +1,8 @@ name: Test Yq Action -on: [push] +on: + push: + workflow_dispatch: + permissions: contents: read @@ -13,13 +16,13 @@ jobs: - uses: actions/checkout@v3 - name: Get test id: get_value - uses: mikefarah/yq@action-use-published-docker + uses: mikefarah/yq@master with: cmd: yq '.test' examples/multiline-text.yaml - name: Multiline test run: echo "### It was [${{ steps.get_value.outputs.result }}]" >> $GITHUB_STEP_SUMMARY - name: Write inplace test id: lookupSdkVersion - uses: mikefarah/yq@action-use-published-docker + uses: mikefarah/yq@master with: cmd: yq -i '.b.c = 5' examples/sample.yaml \ No newline at end of file