Skip to content

Commit

Permalink
[ci] Restrict slash-command-dispatch to PR only (#2472)
Browse files Browse the repository at this point in the history
* [ci] Restrict slash-command-dispatch to PR only

* Auto Format

Co-authored-by: Taichi Gardener <taichigardener@gmail.com>
  • Loading branch information
k-ye and taichi-gardener authored Jun 28, 2021
1 parent d92b2c2 commit 2ad0957
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/issue_comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
token: ${{ secrets.GARDENER_PAT }}
reaction-token: ${{ secrets.GARDENER_PAT }}
repository: taichi-dev/ci_workflows
issue-type: pull-request
permission: triage
commands: |
format
6 changes: 4 additions & 2 deletions taichi/program/arch.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
#include <string>
#include "taichi/common/core.h"

TLANG_NAMESPACE_BEGIN
namespace taichi {
namespace lang {

enum class Arch : int {
#define PER_ARCH(x) x,
Expand All @@ -28,4 +29,5 @@ bool arch_use_host_memory(Arch arch);

int default_simd_width(Arch arch);

TLANG_NAMESPACE_END
} // namespace lang
} // namespace taichi

0 comments on commit 2ad0957

Please sign in to comment.