[New chain]: PLAYA3ULL GAMES Mainnet #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Validate the issue description and prepare the transaction" | |
on: | |
issues: | |
types: [opened, edited] | |
env: | |
ISSUE_BODY: ${{ github.event.issue.body }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NUMBER: ${{ github.event.issue.number }} | |
REPO: ${{ github.repository }} | |
FACTORY_ADDRESS: "0x914d7Fec6aaC8cd542e72Bca78B30650d45643d7" | |
FACTORY_BYTECODE: "0x604580600e600039806000f350fe7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe03601600081602082378035828234f58015156039578182fd5b8082525050506014600cf3" | |
FACTORY_DEPLOYER_ADDRESS: "0xE1CB04A0fA36DdD16a06ea828007E35e1a3cBC37" | |
jobs: | |
prepareTransaction: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
sparse-checkout: | | |
.github/scripts/validate_new_chain_request.sh | |
sparse-checkout-cone-mode: false | |
- name: Run the validation script | |
run: . ./.github/scripts/validate_new_chain_request.sh | |
env: | |
ISSUE_BODY: ${{ env.ISSUE_BODY }} | |
FACTORY_ADDRESS: ${{ env.FACTORY_ADDRESS }} | |
FACTORY_BYTECODE: ${{ env.FACTORY_BYTECODE }} | |
FACTORY_DEPLOYER_ADDRESS: ${{ env.FACTORY_DEPLOYER_ADDRESS }} | |
- name: Post Comment to the Issue | |
if: always() | |
env: | |
COMMENT_OUTPUT: ${{ env.COMMENT_OUTPUT }} | |
run: | | |
gh issue comment "$NUMBER" --repo "$REPO" --body "$COMMENT_OUTPUT" --edit-last || gh issue comment "$NUMBER" --repo "$REPO" --body "$COMMENT_OUTPUT" |