diff --git a/.github/workflows/check-precommit.yml b/.github/workflows/check-precommit.yml index 159250ab..04eb9827 100644 --- a/.github/workflows/check-precommit.yml +++ b/.github/workflows/check-precommit.yml @@ -36,6 +36,7 @@ jobs: with: fetch-depth: 0 submodules: recursive + token: ${{ secrets.github-token || github.token }} - name: Set up Python 🐍 uses: actions/setup-python@v4 @@ -59,6 +60,6 @@ jobs: if: always() && inputs.push-fixes == true && steps.precommit.outcome == 'failure' uses: actions-js/push@v1.4 with: - github_token: ${{ secrets.github-token }} + github_token: ${{ secrets.github-token || github.token }} message: "pre-commit: running and fixing..." branch: ${{ github.ref_name }} diff --git a/CHANGELOG.md b/CHANGELOG.md index 8c468636..e2d72cfc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -36,7 +36,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - CI: split code checks & enable pre-commit updates ( [#191](https://github.com/Lightning-AI/utilities/pull/191), - [#193](https://github.com/Lightning-AI/utilities/pull/193) + [#193](https://github.com/Lightning-AI/utilities/pull/193), + [#194](https://github.com/Lightning-AI/utilities/pull/194) )