test with label

This commit is contained in:
Skillz4Killz
2021-04-09 00:36:00 +00:00
committed by GitHub
parent e7382fffaa
commit 514f7343df

View File

@@ -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 }}