Skip to content

Commit

Permalink
feat: add actions for encrypted rules
Browse files Browse the repository at this point in the history
  • Loading branch information
fukusuket committed Jun 22, 2024
1 parent 431114a commit 0a2cd68
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/create-encrypted-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,15 @@ jobs:
run: |
cd ./self
git add rules.zip
git commit -m "Automated update"
if ! git diff --quiet; then
git commit -m "Automated update"
fi
- name: Push changes
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
cd ./self
git push origin main
if [ "$(git log -1 --pretty=%B)" = "Automated update" ]; then
git push origin main
fi

0 comments on commit 0a2cd68

Please sign in to comment.