Skip to content

Commit e3c0e21

Browse files
committed
Added automation to fix and review files
1 parent d5dd25f commit e3c0e21

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/package.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,19 @@ jobs:
1919

2020
- name: Run PHP_CodeSniffer
2121
run: vendor/bin/phpcs proxy-aware-https-fix.php --standard=WordPress --report=full
22+
continue-on-error: true
2223

2324
- name: Auto-fix with PHPCBF
2425
run: vendor/bin/phpcbf proxy-aware-https-fix.php --standard=WordPress
2526

27+
- name: Upload fixed file
28+
uses: actions/upload-artifact@v4
29+
with:
30+
name: fixed-php
31+
path: proxy-aware-https-fix.php
32+
2633
- name: Zip plugin
27-
run: zip -r proxy-aware-https-fix.zip proxy-aware-https-fix.php README.md LICENSE CHANGELOG.md
34+
run: zip -r proxy-aware-https-fix.zip proxy-aware-https-fix.php README.md LICENSE CHANGELOG.md composer.lock
2835

2936
- name: Upload to GitHub Release
3037
uses: softprops/action-gh-release@v1

0 commit comments

Comments
 (0)