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 a59a6e6 commit 8a59457
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions .github/workflows/create-encrypted-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,18 @@ jobs:
run: |
cp ./encrypted-hayabusa-rules.zip ./self
- name: Commit and push if changes
- name: Configure Git
run: |
cd ./self
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git add -A
if git diff-index --quiet HEAD --; then
echo "No changes to commit"
else
git commit -m "Add updated encrypted-hayabusa-rules.zip"
git push
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
- name: Commit changes
run: |
git add encrypted-hayabusa-rules.zip
git commit -m "Automated update"
- name: Push changes
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git push origin main

0 comments on commit 8a59457

Please sign in to comment.