Skip to content

Commit d2e8780

Browse files
authored
Add condition
1 parent c2525a5 commit d2e8780

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/pr-format.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ permissions:
1111

1212
jobs:
1313
fmt:
14+
if: github.event.issue.pull_request && contains(github.event.comment.body, '\fmt') || github.event_name == 'workflow_dispatch'
1415
runs-on: ${{ github.repository_owner == 'coder' && 'buildjet-8vcpu-ubuntu-2204' || 'ubuntu-latest' }}
1516
timeout-minutes: 7
1617
steps:

0 commit comments

Comments
 (0)