Skip to content

Commit bd5a5cc

Browse files
authored
Merge pull request #103 from chvmvd/fix-bug-in-actions
Fix bug in Actions
2 parents 8d67ec3 + 4ec4f5b commit bd5a5cc

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

.github/workflows/black.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ jobs:
2727
steps:
2828
- name: Checkout Code
2929
uses: actions/checkout@v3
30+
with:
31+
ref: ${{ github.head_ref }}
3032

3133
- name: Run Black
3234
uses: psf/black@stable

.github/workflows/eslint.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ jobs:
2727
steps:
2828
- name: Checkout Code
2929
uses: actions/checkout@v3
30+
with:
31+
ref: ${{ github.head_ref }}
3032

3133
- name: Cache Node Modules
3234
uses: actions/cache@v3

.github/workflows/prettier.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ name: Prettier
33

44
on:
55
push:
6-
pull_request:
7-
branches: [master, main]
6+
# pull_request:
7+
# branches: [master, main]
88

99
jobs:
1010
prettier:

0 commit comments

Comments
 (0)