ci(test): run workflow on label assignment (#364)

This commit is contained in:
Ayyan
2021-01-10 22:20:24 +04:00
committed by GitHub
parent cc21a500ad
commit 0883295e69

View File

@@ -19,7 +19,7 @@ jobs:
- name: Cache dependencies
run: deno cache mod.ts
- name: Run test script
if: github.ref == 'refs/heads/master'
if: github.event.label.name == 'run-tests'
run: deno test --allow-net --allow-env
env:
DISCORD_TOKEN: ${{ secrets.DISCORD_TOKEN }}