File tree Expand file tree Collapse file tree 1 file changed +3
-14
lines changed Expand file tree Collapse file tree 1 file changed +3
-14
lines changed Original file line number Diff line number Diff line change 63
63
uses : tj-actions/eslint-changed-files@0cfcd35949a961d13e964a7c2a4971c0e89b68fc # v25.3.1
64
64
if : github.event_name == 'pull_request'
65
65
with :
66
- token : ${{ secrets.PAT_TOKEN }}
67
66
config_path : " .eslintrc.json"
68
67
ignore_path : " .eslintignore"
69
68
@@ -76,26 +75,16 @@ jobs:
76
75
- name : Verify Changed files
77
76
uses : tj-actions/verify-changed-files@a1c6acee9df209257a246f2cc6ae8cb6581c1edf # v20.0.4
78
77
if : github.actor != 'dependabot[bot]'
79
- id : changed_files
78
+ id : verify_changed_files
80
79
with :
81
80
files : |
82
81
src
83
82
dist
84
83
85
84
- name : Commit files
86
- if : steps.changed_files .outputs.files_changed == 'true' && github.event_name == 'pull_request'
85
+ if : steps.verify_changed_files .outputs.files_changed == 'true' && github.event_name == 'pull_request'
87
86
run : |
88
- git config --local user.email "[email protected] "
89
- git config --local user.name "GitHub Action"
90
- git add src dist
91
- git commit -m "Added missing changes and modified dist assets."
92
-
93
- - name : Push changes
94
- if : steps.changed_files.outputs.files_changed == 'true' && github.event_name == 'pull_request'
95
- uses : ad-m/github-push-action@master
96
- with :
97
- github_token : ${{ secrets.GITHUB_TOKEN }}
98
- branch : ${{ github.head_ref }}
87
+ echo "Uncommitted build/lint changes detected. Please run 'yarn all' locally and push the changes for review."
99
88
100
89
- name : Upload build assets
101
90
uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
You can’t perform that action at this time.
0 commit comments