mirror of
https://github.com/tiennm99/is-a-good-dev.git
synced 2026-10-03 07:13:13 +00:00
Add back file.
This commit is contained in:
1 parent
185bf99cfd
commit
731f59082c
1 file changed
+39
@@ -0,0 +1,39 @@
|
||||
name: Validation
|
||||
on: [pull_request]
|
||||
|
||||
jobs:
|
||||
validation:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Get changed files
|
||||
id: changed-files
|
||||
uses: tj-actions/changed-files@v23.1
|
||||
- name: Install modules
|
||||
run: yarn
|
||||
- name: Run tests
|
||||
id: tests
|
||||
run: yarn test
|
||||
env:
|
||||
FILES: ${{ steps.changed-files.outputs.all_changed_files }}
|
||||
actions_path: ${{ github.workspace }}
|
||||
email_api_key: ${{ secrets.EMAIL_KEY }}
|
||||
# - name: Post message
|
||||
# if: always()
|
||||
# uses: mshick/add-pr-comment@v1
|
||||
# with:
|
||||
# message: |
|
||||
# **Validation Results**
|
||||
# - Information Validation
|
||||
# ${{steps.tests.outputs.infoMessage}}
|
||||
# ${{steps.tests.outputs.infoReason}}
|
||||
# - DNS Record Validation
|
||||
# ${{steps.tests.outputs.recordMessage}}
|
||||
|
||||
# repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
# proxy-url: https://github-workflow-pr.ext.talosbot.xyz
|
||||
# repo-token-user-login: 'github-actions[bot]' # The user.login for temporary GitHub tokens
|
||||
# allow-repeats: false # This is the default
|
||||
|
||||
Reference in new issue
Block a user