Skip to content
This repository has been archived by the owner on Apr 24, 2024. It is now read-only.

Commit

Permalink
chore(template): sync with Kong/template-generic
Browse files Browse the repository at this point in the history
  • Loading branch information
team-eng-enablement committed Apr 23, 2024
1 parent 51b12ff commit 73be7ab
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@ on: # yamllint disable-line rule:truthy

jobs:
pre-commit:
timeout-minutes: ${{ fromJSON(vars.GHA_DEFAULT_TIMEOUT) }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-python@v4.8.0
- uses: actions/setup-python@v5.0.0
with:
python-version: 3.11
- name: install shfmt
Expand All @@ -27,7 +28,7 @@ jobs:
run: |
git version
git config --global url."https://${TOKEN}:[email protected]/".insteadOf "[email protected]:"
- uses: pre-commit/[email protected].0
- uses: pre-commit/[email protected].1
with:
token: ${{ secrets.GITHUB_TOKEN }}
extra_args: --from-ref origin/${{ github.base_ref }} --to-ref ${{github.event.pull_request.head.sha}}

0 comments on commit 73be7ab

Please sign in to comment.