From 570e3802d214293cab1640a70aad4e34d9151067 Mon Sep 17 00:00:00 2001 From: Whisker17 Date: Thu, 27 Jul 2023 19:12:38 +0800 Subject: [PATCH] prettier test --- .github/workflows/prettier_format.yml | 22 +++++++++++++++++----- evaluations/AdMeta_1_0xCaso.md | 6 ++++++ 2 files changed, 23 insertions(+), 5 deletions(-) diff --git a/.github/workflows/prettier_format.yml b/.github/workflows/prettier_format.yml index a3e660bc19..d0bab8fc02 100644 --- a/.github/workflows/prettier_format.yml +++ b/.github/workflows/prettier_format.yml @@ -3,7 +3,7 @@ name: Prettier Auto-Format on: push: branches: - - master + - feat/add-prettier-format jobs: prettier: @@ -16,8 +16,20 @@ jobs: - name: Install Prettier run: npm install prettier --global - - name: Display Prettier Version - run: prettier --version + - name: Format Files + run: | + prettier --write . - - name: Run Prettier Auto-Format - run: prettier --write . + - name: Commit Changes + if: ${{ env.MODIFIED_FILES != '' }} + run: | + git config --global user.name "Your GitHub Username" + git config --global user.email "your.email@example.com" + git add . + git commit -m "Auto-format code with Prettier [skip ci]" + + - name: Push Changes + if: ${{ env.MODIFIED_FILES != '' }} + uses: ad-m/github-push-action@master + with: + github_token: ${{ secrets.GITHUB_TOKEN }} diff --git a/evaluations/AdMeta_1_0xCaso.md b/evaluations/AdMeta_1_0xCaso.md index 478f87aad2..ecafb20258 100644 --- a/evaluations/AdMeta_1_0xCaso.md +++ b/evaluations/AdMeta_1_0xCaso.md @@ -1,12 +1,15 @@ # Evaluation + - **Status:** Accepted - **Application Document:** https://github.com/w3f/Grants-Program/blob/master/applications/AdMeta.md - **Milestone:** 1 - **Kusama Identity:** [HC8pZ53SejB9YALHn2qXea6XMFFNgxpdXhVvtF7uU5dTSqu](https://kusama.subscan.io/account/HC8pZ53SejB9YALHn2qXea6XMFFNgxpdXhVvtF7uU5dTSqu) - **Previously successfully merged evaluation:** All by 0xCaso + + | Number | Deliverable | Accepted | Link | Evaluation Notes | | ------ | ----------- | -------- | ---- |----------------- | | 0a. | License | | [LICENSE](https://github.com/AdMetaNetwork/admeta/blob/main/LICENSE) | | @@ -22,6 +25,7 @@ ## General Notes v2 - Jan 11, 2023 + The Testing Guide has been updated, it's findable in the WebApp [README](https://github.com/AdMetaNetwork/admeta-webapp/blob/bb74d090d815bb9af5cfb9314968672bffa54ffa/README.md). ## General Notes v1 - Jan 9, 2023 @@ -31,6 +35,8 @@ Overall the delivery is really good. The main functionalities work and the UI is - The webapp lets you try all the most important functionalities; - For now, users can claim rewards without doing any tasks, but the team [stated](https://github.com/w3f/Grant-Milestone-Delivery/pull/667#issuecomment-1375771236) that they plan to make this impossible (users should complete some tasks while watching ads to claim rewards); + + As the main problem was the local testing, I ask the team to slightly improve the WebApp Guide: ### 0c. Testing Guide