mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-04 09:50:07 +00:00
test with label
This commit is contained in:
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@@ -14,7 +14,7 @@ jobs:
|
||||
- name: Cache dependencies
|
||||
run: deno cache --no-check mod.ts
|
||||
- name: Run test script
|
||||
if: github.ref == 'refs/heads/main'
|
||||
if: ${{ github.event.label.name == 'run-tests' }}
|
||||
run: deno test -A --no-check
|
||||
env:
|
||||
DISCORD_TOKEN: ${{ secrets.DISCORD_TOKEN }}
|
||||
|
||||
Reference in New Issue
Block a user