From 629be87cdaf8d78d7d0056a7768129b4abca91ca Mon Sep 17 00:00:00 2001 From: William Harrison Date: Tue, 29 Nov 2022 10:43:20 +0800 Subject: [PATCH] Update validation.yml --- .github/workflows/validation.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/validation.yml b/.github/workflows/validation.yml index 6bf50a3..591f182 100644 --- a/.github/workflows/validation.yml +++ b/.github/workflows/validation.yml @@ -8,24 +8,24 @@ jobs: - uses: actions/checkout@v3 with: fetch-depth: 0 - - name: Get changed files + - name: Get Files id: changed-files uses: tj-actions/changed-files@v34 with: files: | sub-logs/** reserved/** - - name: Install modules + - name: Install Modules if: steps.changed-files.outputs.any_changed == 'true' run: yarn - - name: Run tests + - name: Run Tests if: steps.changed-files.outputs.any_changed == 'true' id: tests run: yarn test env: FILES: ${{ steps.changed-files.outputs.all_changed_files }} actions_path: ${{ github.workspace }} - - name: Comment Results + - name: Comment if: steps.tests.outputs.shouldComment == 'true' uses: mshick/add-pr-comment@v1 with: @@ -42,5 +42,4 @@ jobs: repo-token: ${{ secrets.GITHUB_TOKEN }} proxy-url: https://api.is-a-good.dev/github-proxy/ repo-token-user-login: 'github-actions[bot]' # The user.login for temporary GitHub tokens - allow-repeats: false # This is the default - + allow-repeats: false # Default: false