💚 Added check to avoid running GitHub Actions

This commit is contained in:
Nikhil Badyal
2022-08-25 09:40:32 +05:30
parent c7bdc2e750
commit 6c6abc3740
4 changed files with 6 additions and 8 deletions
+2 -1
View File
@@ -13,6 +13,7 @@ permissions:
jobs:
auto-update:
if: ${{ inputs.GH_TOKEN}}
runs-on: ubuntu-latest
steps:
- name: Checkout
@@ -32,7 +33,7 @@ jobs:
- name: Create Pull Request
uses: peter-evans/create-pull-request@v4
with:
token: ${{ secrets.GH_TOKEN }}
token: $GH_TOKEN
branch: update/pre-commit-autoupdate
title: ⬆️Update pre-commit hooks
commit-message: ⬆️updated pre-commit hooks