Skip to content

Commit

Permalink
fix(.github): clear history if changed
Browse files Browse the repository at this point in the history
  • Loading branch information
maurosala committed Feb 14, 2023
1 parent fafe414 commit 3cca525
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/clear_history.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,16 @@ jobs:
git config --local user.email "info@krateo.io"
git config --local user.name "krateoctl"
git commit -m "Clear history" -a
- name: Verify Changed files
uses: tj-actions/verify-changed-files@v13
id: verify-changed-files
with:
files: |
*.yml
*.yaml
*.tgz
- name: Push changes
if: steps.verify-changed-files.outputs.files_changed == 'true'
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 3cca525

Please # to comment.