Skip to content

Commit 807024d

Browse files
committed
Disable git hooks in automated workflows
1 parent 6ca6af0 commit 807024d

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/namespace_declarations.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,11 @@ jobs:
8383
run: |
8484
make list-pkgs-namespaces | node lib/node_modules/@stdlib/_tools/scripts/create_namespace_types.js
8585
86+
# Disable Git hooks:
87+
- name: 'Disable Git hooks'
88+
run: |
89+
rm -rf .git/hooks
90+
8691
# Create a pull request with the updated declarations:
8792
- name: 'Create pull request'
8893
id: cpr

.github/workflows/namespace_exports.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,11 @@ jobs:
105105
# Lint and fix namespace exports:
106106
make FILES="${namespaces}" FIX=1 FIX_TYPE="suggestion" lint-javascript-files
107107
108+
# Disable Git hooks:
109+
- name: 'Disable Git hooks'
110+
run: |
111+
rm -rf .git/hooks
112+
108113
# Create a pull request with the updated namespace exports:
109114
- name: 'Create pull request'
110115
id: cpr

0 commit comments

Comments
 (0)