Skip to content

Commit c77c8fc

Browse files
authored
remove: commit and push step from build job
1 parent 9b4bb2b commit c77c8fc

File tree

1 file changed

+3
-14
lines changed

1 file changed

+3
-14
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ jobs:
6363
uses: tj-actions/eslint-changed-files@0cfcd35949a961d13e964a7c2a4971c0e89b68fc # v25.3.1
6464
if: github.event_name == 'pull_request'
6565
with:
66-
token: ${{ secrets.PAT_TOKEN }}
6766
config_path: ".eslintrc.json"
6867
ignore_path: ".eslintignore"
6968

@@ -76,26 +75,16 @@ jobs:
7675
- name: Verify Changed files
7776
uses: tj-actions/verify-changed-files@a1c6acee9df209257a246f2cc6ae8cb6581c1edf # v20.0.4
7877
if: github.actor != 'dependabot[bot]'
79-
id: changed_files
78+
id: verify_changed_files
8079
with:
8180
files: |
8281
src
8382
dist
8483
8584
- 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'
8786
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."
9988
10089
- name: Upload build assets
10190
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2

0 commit comments

Comments
 (0)