Skip to content

Commit

Permalink
Update pre-commit tools (#329)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nuru authored Sep 23, 2022
1 parent d9568b0 commit e78326d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,13 @@ RUN apk --update --no-cache add \
PyGithub==1.55 && \
git config --global advice.detachedHead false

# Install pre-commit support
RUN pip install pre-commit
# Install ADR tools
RUN cd /usr/local/bin && curl -fsSL https://github.com/npryce/adr-tools/archive/refs/tags/3.0.0.tar.gz | \
tar xzf - adr-tools-3.0.0/src --strip 2


### Workaround https://github.com/pypa/pip/issues/5247
# Should no longer be needed, but leaving it in case we need to revert
#RUN pip3 install --upgrade --force-reinstall pip==9.0.3 && \
Expand All @@ -54,6 +61,7 @@ RUN apk --update --no-cache add \
helm@cloudposse \
helmfile@cloudposse \
codefresh@cloudposse \
npm nodejs \
terraform-0.11@cloudposse terraform-0.12@cloudposse \
terraform-0.13@cloudposse terraform-0.14@cloudposse \
terraform-0.15@cloudposse terraform-1@cloudposse \
Expand Down
1 change: 1 addition & 0 deletions templates/.github/workflows/validate-codeowners.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ jobs:
steps:
- name: "Checkout source code at current commit"
uses: actions/checkout@v2
# Leave pinned at 0.7.1 until https://github.com/mszostok/codeowners-validator/issues/173 is resolved
- uses: mszostok/[email protected]
if: github.event.pull_request.head.repo.full_name == github.repository
name: "Full check of CODEOWNERS"
Expand Down

0 comments on commit e78326d

Please sign in to comment.