Skip to content

Commit

Permalink
Merge branch 'main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
Janitor01 authored Jul 17, 2024
2 parents 4efc4e6 + 22b6f28 commit 36d125a
Show file tree
Hide file tree
Showing 4 changed files with 1,600 additions and 5 deletions.
30 changes: 25 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,18 @@ jobs:
steps:
- name: Log PR Info
run: |
echo "PR Number: ${{ github.event.number }}"
echo "Action: ${{ github.event.action }}"
if [ "${{ github.event_name }}" == "pull_request_review" ]; then
echo "PR Number: ${{ github.event.pull_request.number }}"
echo "Action: ${{ github.event.review.state }}"
elif [ "${{ github.event_name }}" == "pull_request" ]; then
echo "PR Number: ${{ github.event.number }}"
echo "Action: ${{ github.event.action }}"
else
echo "Unhandled event type: ${{ github.event_name }}"
fi
- name: Debug Information
run: |
echo "Test var: ${{ secrets.TEST }}"
validate_and_notify:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -84,8 +94,18 @@ jobs:
- name: Send Notification to Telegram
if: env.TG_SENDER_PAYLOAD_MESSAGE != '' && success()
env:
TELEGRAM_BOT_TOKEN: ${{ secrets.BOTTOKEN }}
TELEGRAM_CHAT_ID: ${{ secrets.CHATID }}
run: |
curl -X POST \
-H "Content-Type: application/json" \
-d '{"chat_id": "${{ secrets.CHATID }}", "text": "${{ env.TG_SENDER_PAYLOAD_MESSAGE }}"}' \
"https://api.telegram.org/bot${{ secrets.BotToken }}/sendMessage"
-H "Content-Type: application/json" \
-d "{\"chat_id\": \"$TELEGRAM_CHAT_ID\", \"text\": \"${{ env.TG_SENDER_PAYLOAD_MESSAGE }}\"}" \
"https://api.telegram.org/bot$TELEGRAM_BOT_TOKEN/sendMessage"
# if: env.TG_SENDER_PAYLOAD_MESSAGE != '' && success()
# run: |
# curl -X POST \
# -H "Content-Type: application/json" \
# -d '{"chat_id": "${{ secrets.CHATID }}", "text": "${{ env.TG_SENDER_PAYLOAD_MESSAGE }}"}' \
# "https://api.telegram.org/bot${{ secrets.BotToken }}/sendMessage"
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"name": "ZPF Token",
"symbol": "ZPF",
"type": "PSP22",
"contractAddress": "5ESKJbkpVa1ppUCmrkCmaZDHqm9SHihws9Uqqsoi4VrDCDLE",
"decimals": 12,
"description": "Utility Token for ZPF Ecosystem",
"website": "https://zapfi.org",
"sourceCode": "https://github.com/ZapFi/token/tree/966f67adb0dd2e3a55acf88af17d50340871bf91/sourcecode",
"links": [
{
"name": "X/Twitter",
"url": "https://x.com/zap_finance"
},
{
"name": "Telegram",
"url": "https://t.me/ZapFiOfficial"
},
{
"name": "Discord",
"url": ""
}
],
"customTags": [
"ZPF Contract Address"
],
"warnings": [],
"owner": "5G1cYC4E5MDs4F32RdaMynyr9Pk9DrsjbquA931UskvojVAg",
"minter": "5G1cYC4E5MDs4F32RdaMynyr9Pk9DrsjbquA931UskvojVAg"
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 36d125a

Please sign in to comment.