···11-# Copy file, rename to `.env`, and fill in ids
11+# /oauth2/general
22+CLIENT_ID=$ID
33+44+# /bot
55+BOT_TOKEN=$BOT_TOKEN
2633-DISCORD_TOKEN=$TOKEN
77+# /information
88+PUBLIC_KEY=$PUBLIC_KEY
-28
.github/workflows/list_sets.yml
···11-# This workflow uses actions that are not certified by GitHub.
22-# They are provided by a third-party and are governed by
33-# separate terms of service, privacy policy, and support
44-# documentation.
55-66-# This workflow will run the update script to build the emoji db
77-88-name: check sets
99-1010-on:
1111- workflow_dispatch:
1212-1313-jobs:
1414- publish:
1515- runs-on: ubuntu-latest
1616-1717- steps:
1818- - name: Setup repo
1919- uses: actions/checkout@v3
2020-2121- - name: Setup Deno
2222- # uses: denoland/setup-deno@v1
2323- uses: denoland/setup-deno@004814556e37c54a2f6e31384c9e18e983317366
2424- with:
2525- deno-version: v1.x
2626-2727- - name: Run Check Script
2828- run: deno run --allow-net ./db/list_sets.ts
-44
.github/workflows/update.yml
···11-# This workflow uses actions that are not certified by GitHub.
22-# They are provided by a third-party and are governed by
33-# separate terms of service, privacy policy, and support
44-# documentation.
55-66-# This workflow will run the update script to build the emoji db
77-88-name: update set
99-1010-on:
1111- workflow_dispatch:
1212- inputs:
1313- version:
1414- description: 'Set Name'
1515- required: true
1616- default: 7
1717-1818-jobs:
1919- publish:
2020- runs-on: ubuntu-latest
2121-2222- steps:
2323- - name: Setup repo
2424- uses: actions/checkout@v3
2525-2626- - name: Setup Deno
2727- # uses: denoland/setup-deno@v1
2828- uses: denoland/setup-deno@004814556e37c54a2f6e31384c9e18e983317366
2929- with:
3030- deno-version: v1.x
3131-3232- - name: Run Update Script
3333- run: deno run --allow-net --allow-write ./db/update.ts ${{ github.event.inputs.version }}
3434-3535- - name: Run deno fmt
3636- run: deno fmt
3737-3838- - name: Create Pull Request
3939- uses: peter-evans/create-pull-request@v4
4040- with:
4141- commit-message: "chore: updates to set ${{ github.event.inputs.version }}"
4242- branch: update-set
4343- title: "Updates champions to set ${{ github.event.inputs.version }}"
4444- body: "# Updates champions to set ${{ github.event.inputs.version }}"