Skip to content

Commit

Permalink
Merge pull request #5 from alhankeser/feature/test-action
Browse files Browse the repository at this point in the history
Create tests for action
  • Loading branch information
alhankeser authored Jul 21, 2024
2 parents b2fe77f + 0970870 commit 810dd25
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 11 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
[![Tests](https://github.com/alhankeser/looker-janitor/actions/workflows/test.yml/badge.svg)](https://github.com/alhankeser/looker-janitor/actions/workflows/test.yml)
[![Action Tests](https://github.com/alhankeser/looker-janitor/actions/workflows/action_tests.yml/badge.svg)](https://github.com/alhankeser/looker-janitor/actions/workflows/action_tests.yml)

[![Python Tests](https://github.com/alhankeser/looker-janitor/actions/workflows/tests.yml/badge.svg)](https://github.com/alhankeser/looker-janitor/actions/workflows/tests.yml)

# Looker Janitor

Expand Down Expand Up @@ -33,5 +35,5 @@ order_field_parameters | false | boolean | Should field parameters be ordered. |
order_fields_by_label | false | boolean | Should fields be ordered by their labels. | true
localization_file_path | false | string | Localization file path to use for label sorting | None

## Example usage

## Example usage
9 changes: 0 additions & 9 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -208,15 +208,6 @@ runs:
--required_measure ${{ steps.janitor_args.outputs.required_measure }} \
--required_set ${{ steps.janitor_args.outputs.required_set }}
shell: bash
- name: Commit Cleaned Files
id: commit_changes
run: |
for file in ${{ steps.janitor_args.outputs.files }}; do
git add "${file}"
done
git commit -m "Run Looker Janitor" || continue
git push
shell: bash

branding:
icon: check-circle
Expand Down

0 comments on commit 810dd25

Please sign in to comment.