Skip to content

Commit 9968d56

Browse files
committed
fix(ci): remove pull request event and update branch input parameter
1 parent b252bbf commit 9968d56

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

.github/workflows/format-code.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,6 @@
11
name: 'Format code'
22

33
on:
4-
pull_request:
5-
branches:
6-
- Master
7-
- develop
8-
paths:
9-
- '**.c'
10-
- '**.h'
114
push:
125
branches:
136
- Master
@@ -40,5 +33,5 @@ jobs:
4033
- name: Push changes
4134
uses: ad-m/[email protected]
4235
with:
43-
branch: ${{ github.ref_name }}
36+
branch: ${{ github.ref }}
4437
github_token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)