From ca4593e2f36623dca03ba138313def05df03e08a Mon Sep 17 00:00:00 2001 From: Neea Date: Sat, 9 Dec 2023 20:59:23 -0500 Subject: [PATCH] add avatar --- .github/assets/vote.png | Bin 0 -> 7975 bytes .github/workflows/vote.yaml | 12 ++++++++---- 2 files changed, 8 insertions(+), 4 deletions(-) create mode 100644 .github/assets/vote.png diff --git a/.github/assets/vote.png b/.github/assets/vote.png new file mode 100644 index 0000000000000000000000000000000000000000..3b0a5982bf0de84265fd5ca88e6add85b05cc80c GIT binary patch literal 7975 zcmXY01z3~c_kTASj1Y#zhJcimG)PE}k`xf6TS}#2w8DhZAsrGTAWBQ8FhnVl5F|t- zrG){K693ol@4x5S^KSQ^xaV`?J5f#M`0_8l;w|K?Ft7`u`EVE|h7akEa8vcN2>qAVk8jo*ic6KZa;e=R* z7Qap@lZU7Eb+R8(Ck~;|3C_xG0uEj%4Y{1zbsc78{9Tf%iy75~IAm*=m5~RveHbI_ zp>z`Bo`;eQsmjp$6`iQn#B<`~Z`lnXOKJh3oxB3=9E zBn#i9CM4j7jQ<5O4^0`{;$y&ur~u>O$^)kfRZc^po;Gl6^Wcm*I{KNa^*7BsP{?M#4*?7-yOoM;M z?uriuQ2P2Nf&|Ls1vZa9eVE4Xivyop>)<qCo?xxCn~W)$4r z`g+i2G$4T2>_7wvTRSbus05E*zWF=X+YJsfHH!Bk?Wdt zGkafe=$~;PRs|H+G3Y!{kpQAMhB!XbnA5rrPk*i7lAl#Fpm__;k|{rw>z+3Pbis2+ zv$qcql>VsSt1+HcN}EaPvMzsVZJr{MwYh>Z06#+MD-Y(@PW&}id{CrqlB5dy<}KRykvtxZwSQ2lxQ zlSEWr-`x7#YF6n^N&{_qaqWtq(;10b?!ACsFXsBDop5{7ATAH+sIWHwit3_V%Tz#Vg+7XLxMYt84*Lbr#H0b+`qUzGp&0 zWBFd*YHfq^tSRtm;zC81sK6{MaHjoB_#mK^u)BMnw1X$_Vc`S$IV?41(b=R6fg zpTx@>p4cT^!t_nv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Mmd#cjO~qbEo6e-@39uHu4-C{~^T)JH+`}Lx8tTl0`ISFS*)v zSBp7Kl>Bh^@&aF1hpmX27nzs3{?}Oc zcH#59PgzAJx1r59zq$Rwur=$5pCvQata#YeJ*eCkkool#LdgpbO2e2>&B}Hd`qt6! zP$l0O#XcxL@i~tT#yIzr7y!NhQJ@sn$(!gtC!-I=DeETdKU}uhTXk2C5F~y~YmwXj z|8+>Q~j+-VjZ9 ziwtfjF$Nvql{jx}2|~VPDh5*M@~nIq`F~IqT;)7#=}*R5m(V;maauER+cY^tc)wM= z30@SX4^{DTe`*q0vp}s>Dc`eBU93J$I4srBP;3r3j-1M3K+b#A zNMdP8{=Vi%qgnYV{#F@9uU~Cf_DLWmwhu&M*Jp551Ygm;U8m%B(UGZ3lvZm9KCnUk1 zXQ+ubCVE>(hB0#5?PlFK5tZjizp0}put{AXO4BO_Zppsc8W>~Yx%WBI%6;arB{3EC zxm6`F()PuQol5qMCZkIMfdJa){lIs&AO+edhO{)kE#!1{^W!sMO|o+})RLHn*@rgOJu++Cc3l)V03e8jAwjvb+fRrjt%ed=8m3RK*2(9y z2w|osg1nN`7ElhDFi$k&N}K-pgOmeHDOSt6H!WriI(^5t8e&K+lKugJ+_?U literal 0 HcmV?d00001 diff --git a/.github/workflows/vote.yaml b/.github/workflows/vote.yaml index 3186df2..a63d66d 100644 --- a/.github/workflows/vote.yaml +++ b/.github/workflows/vote.yaml @@ -1,4 +1,4 @@ -name: Vote for paper +name: Paper vote on: # schedule: @@ -16,7 +16,9 @@ on: branches: [ main ] env: - COLORS: ("", "26367" "16750848" "65433" "10027263") + COLORS: ("" "26367" "16750848" "65433" "10027263") + OPTIONS: (1 2 3) + AVATAR: https://raw.githubusercontent.com/the-au-forml-lab/plgroup/main/.github/assets/vote.png jobs: vote_options: @@ -26,7 +28,7 @@ jobs: matrix: # number of vote options to generate; # The values are not relevant, just the list length. - options: [ 1, 2, 3 ] + options: ${{ env.OPTIONS }} # to generate and post options sequentially max-parallel: 1 steps: @@ -79,6 +81,7 @@ jobs: - name: Post vote option if: ${{ env.DISCORD_WEBHOOK != '' }} env: + DISCORD_AVATAR: ${{ env.AVATAR }} DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK_TEST }} DISCORD_EMBEDS: '[{ "color":"${{ steps.vars.outputs.color }}", "title":"${{ steps.vars.outputs.title }}", "description":"${{ steps.vars.outputs.subabs }} [Merge PR ${{ steps.paperpr.outputs.pull-request-number }}](${{ steps.paperpr.outputs.pull-request-url }})" }]' uses: Ilshidur/action-discord@master @@ -92,6 +95,7 @@ jobs: if: ${{ env.DISCORD_WEBHOOK != '' }} env: DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK_TEST }} + DISCORD_AVATAR: ${{ env.AVATAR }} uses: Ilshidur/action-discord@master with: - args: "**Voting Instructions.**\n\n- Rank vote papers using numbers :one: -- :three: favorite -- least favorite.\n- Set the winner by merging its PR." \ No newline at end of file + args: "**Voting Instructions.**\n- Rank vote papers using numbers :${{ env.COLORS[0] }}: — :${{ (env.COLORS).size() }}: favorite -- least favorite.\n- Set the winner by merging its PR." \ No newline at end of file