Skip to content

Commit 039fdd8

Browse files
committed
Enable Rust formatter workflow for pull requests
1 parent 1d70202 commit 039fdd8

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/format.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
name: Rustfmt
22

33
on:
4-
# Triggers the workflow on push request events but only for the master branch
4+
# Triggers the workflow on push or pull request events but only for the main branch
55
push:
66
branches: [ main ]
7+
pull_request:
8+
branches: [ main ]
9+
# Allows you to run this workflow manually from the Actions tab
10+
workflow_dispatch:
711

812
jobs:
913
format:

0 commit comments

Comments
 (0)