diff --git a/.github/workflows/mint.yml b/.github/workflows/mint.yml index fe2d62e61d..16bdfe1276 100644 --- a/.github/workflows/mint.yml +++ b/.github/workflows/mint.yml @@ -13,19 +13,7 @@ jobs: name: Mint runs-on: ubuntu-latest steps: - - name: Check if already minted - uses: web3actions/tx@d3833db41e58cb4e7f329027ad30211a22e1c5e5 - with: - rpc-node: ${{ secrets.RPC_NODE}} - wallet-key: ${{ secrets.WALLET_KEY }} - contract: ${{ secrets.CONTRACT_ADDRESS }} - function: "tokenURI(uint256 _tokenId)" - inputs: '[ ${{ github.event.inputs.prNumber }} ]' - value: "0" - - name: Mint - id: mint - if: ${{ failure() }} uses: web3actions/tx@d3833db41e58cb4e7f329027ad30211a22e1c5e5 with: rpc-node: ${{ secrets.RPC_NODE}} @@ -36,13 +24,11 @@ jobs: value: "0" - name: Set success comment - if: steps.mint.outcome == 'success' uses: peter-evans/create-or-update-comment@v1 with: issue-number: ${{ github.event.inputs.prNumber }} body: | [GitMint NFT preview](https://blockscout.com/xdai/mainnet/token/${{ secrets.CONTRACT_ADDRESS }}/instance/${{ github.event.inputs.prNumber }}) - Dear @${{ github.event.pull_request.user.login }}, Thank you for your contribution! Please, let us know your Ethereum address to receive [this NFT on Gnosis Chain](https://epor.io/tokens/${{ secrets.CONTRACT_ADDRESS }}/${{ github.event.inputs.prNumber }}?network=xDai). Cheers! 🏆