Skip to content

Commit

Permalink
Switch ansible-lint GitHub Workflow to pre-commit.
Browse files Browse the repository at this point in the history
To include gitleaks in the pipeline.
  • Loading branch information
jeffmcutter committed Jan 29, 2024
1 parent c0ab307 commit 874763d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 15 deletions.
15 changes: 0 additions & 15 deletions .github/workflows/ansible-lint.yml

This file was deleted.

16 changes: 16 additions & 0 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: pre-commit
on:
pull_request:
branches:
- 'devspaces-[0-9].[0-9]+-rhel-8'
- devspaces-3-rhel-8
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
- name: Run pre-commit
uses: pre-commit/action@v3.0.0
with:
extra_args: --all-files

0 comments on commit 874763d

Please sign in to comment.