File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
- name : Check Wallet Data for "new_to_crypto: true"
1
+ name : Check Wallet Data
2
2
3
3
on :
4
4
pull_request :
@@ -18,15 +18,15 @@ jobs:
18
18
if git diff --name-only HEAD^ | grep -q "data/wallets/wallet-data.ts"; then
19
19
if git diff -U0 HEAD^ HEAD data/wallets/wallet-data.ts | grep -q "+.*new_to_crypto: true"; then
20
20
echo "New wallet added with 'new_to_crypto: true'"
21
- echo "::set-output name= new_to_crypto_found:: true"
21
+ echo "new_to_crypto_found= true" >> $GITHUB_OUTPUT
22
22
else
23
- echo "::set-output name= new_to_crypto_found:: false"
23
+ echo "new_to_crypto_found= false" >> $GITHUB_OUTPUT
24
24
fi
25
25
fi
26
26
27
27
- name : Comment on PR if "new_to_crypto: true" is added
28
28
if : steps.check_new_to_crypto.outputs.new_to_crypto_found == 'true'
29
29
uses : actions-ecosystem/action-add-comment@v1
30
30
with :
31
- repo -token : ${{ secrets.GITHUB_TOKEN }}
32
- comment : " A wallet has been added with 'new_to_crypto: true'. Please ensure this meets our guidelines."
31
+ github -token : ${{ secrets.GITHUB_TOKEN }}
32
+ body : " A wallet has been added with 'new_to_crypto: true'. Please ensure this meets our guidelines."
You can’t perform that action at this time.
0 commit comments