Changing Shaped Recipes to remove gaps to make automated crafting easier early game #3375
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: Discord events | |
on: | |
issue_comment: | |
types: | |
- created | |
issues: | |
types: | |
- opened | |
pull_request: | |
types: | |
- opened | |
jobs: | |
test: | |
permissions: | |
issues: write | |
pull-requests: write | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
DISCORD_TOKEN: ${{ secrets.DISCORD_TOKEN }} | |
TARGET_REPO: ${{ github.repository }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
repository: Yarden-zamir/discord_bot | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- env: | |
GITHUB_CONTEXT: ${{ toJson(github) }} | |
DISCORD_SERVER_ID: ${{ vars.DISCORD_SERVER_ID }} | |
DISCORD_INPUT_FORUM_CHANNEL_ID: ${{ vars.DISCORD_INPUT_FORUM_CHANNEL_ID }} | |
run: | | |
touch .env | |
echo "DISCORD_TOKEN=$DISCORD_TOKEN" >> .env | |
echo "GITHUB_TOKEN=$GITHUB_TOKEN" >> .env | |
echo "DISCORD_SERVER_ID=$DISCORD_SERVER_ID" >> .env | |
echo "TARGET_REPO=$TARGET_REPO" >> .env | |
echo "DISCORD_INPUT_FORUM_CHANNEL_ID=$DISCORD_INPUT_FORUM_CHANNEL_ID" >> .env | |
npm install discord.js | |
npm install octokit | |
echo "$GITHUB_CONTEXT" > ./payload.json | |
node index.js -e "" |