From 7a0ef9df8d610e70273f9ce94dbe1c0fafe62529 Mon Sep 17 00:00:00 2001 From: Fernando Bevilacqua Date: Thu, 16 Jan 2020 17:47:13 -0300 Subject: [PATCH] Add a fancier example --- .github/workflows/main.yml | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3390afe..7a6df1e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -18,7 +18,7 @@ jobs: uses: ./ # Uses an action in the root directory id: extract with: - filter_push: '.commits' + filter_push: '.commits[].author' filter_pull_request: '.pull_request.commits' # Use the output from the `infos` step - name: Show output diff --git a/README.md b/README.md index 107dffc..9450d27 100644 --- a/README.md +++ b/README.md @@ -59,6 +59,6 @@ If this workflow is running on a pull request or not, e.g. `"false"`. # Use the action - uses: Dovyski/payload-info-action@master with: - filter_push: '.commits' + filter_push: '.commits[].author' filter_pull_request: '.pull_request.commits' ``` \ No newline at end of file