Skip to content

Commit

Permalink
init commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Eeebru committed Nov 7, 2024
1 parent 638a3ea commit ac73e37
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/workflow-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,15 @@ jobs:
echo "count=$COUNT" >> $GITHUB_OUTPUT
echo "modified-workflows=$MODIFIED_EXISTING_WORKFLOWS" >> $GITHUB_OUTPUT
- name: Download bwwl binary
if: steps.changed-workflows.outputs.count != 0
run: |
python3 -m pip install --upgrade bitwarden_workflow_linter
- name: Lint
if: steps.changed-workflows.outputs.count != 0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: bitwarden/gh-actions/lint-workflow@main
with:
workflows: ${{ steps.changed-workflows.outputs.modified-workflows }}
run: |
bwwl lint -f ${{ steps.changed-workflows.outputs.modified-workflows }}
- name: Get changed files
if: steps.changed-workflows.outputs.count != 0
Expand Down

0 comments on commit ac73e37

Please sign in to comment.