Skip to content

Commit c61953d

Browse files
author
Kostadinos J Kyprianos
authored
Create Workflows
/your-bot-repo ├── .github │ └── workflows │ └── archive-warden-ritual.yml ├── scripts │ └── archive-warden-ritual.ts ├── src │ └── bot.ts ├── logs │ └── role-grants.json ├── .env.example ├── package.json ├── tsconfig.json └── README.md
1 parent f7421a4 commit c61953d

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

Workflows

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Archive Warden Ritual
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
ritual:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v3
11+
- uses: actions/setup-node@v4
12+
with:
13+
node-version: 20
14+
- run: pnpm install
15+
- run: pnpm run ritual:archive-warden
16+
env:
17+
DISCORD_TOKEN: ${{ secrets.DISCORD_TOKEN }}
18+
GUILD_ID: ${{ secrets.GUILD_ID }}
19+
SENIOR_ROLE_ID: ${{ secrets.SENIOR_ROLE_ID }}
20+
JUNIOR_ROLE_ID: ${{ secrets.JUNIOR_ROLE_ID }}
21+
VAULT_CORE_CHANNEL_ID: ${{ secrets.VAULT_CORE_CHANNEL_ID }}
22+
MENTORING_CHANNEL_ID: ${{ secrets.MENTORING_CHANNEL_ID }}
23+
AUDIT_LOG_PATH: ./logs/role-grants.json

0 commit comments

Comments
 (0)