mirror of
https://github.com/tiennm99/is-a-good-dev.git
synced 2026-08-11 14:22:46 +00:00
Update validation.yml
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user