mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-02 08:50:07 +00:00
would this work
This commit is contained in:
4
.github/workflows/pr_tests.yml
vendored
4
.github/workflows/pr_tests.yml
vendored
@@ -14,9 +14,7 @@ jobs:
|
||||
- name: Cache dependencies
|
||||
run: deno cache mod.ts
|
||||
- name: Run test script if label added
|
||||
if: ${{ github.event.issue.pull_request }}
|
||||
if: github.actor == 'Skillz4Killz' || github.actor == 'itohatweb'
|
||||
if: github.event.issue.comment.body == 'run-tests'
|
||||
if: ${{ github.event.issue.pull_request && github.event.issue.comment.body == 'run-tests' && (github.actor == 'Skillz4Killz' || github.actor == 'itohatweb') }}
|
||||
run: DISCORD_TOKEN=${{ env.DISCORD_TOKEN }} deno test --unstable --coverage=coverage -A tests/mod.ts
|
||||
env:
|
||||
DISCORD_TOKEN: ${{ secrets.DISCORD_TOKEN }}
|
||||
|
||||
Reference in New Issue
Block a user