git push
All checks were successful
Template Cleanup / Template Cleanup (push) Has been skipped

This commit is contained in:
Liam Chan 2024-09-04 12:40:52 +08:00
parent 87da521e2e
commit ee5efb0f5a

View File

@ -15,7 +15,6 @@ jobs:
contents: write contents: write
steps: steps:
# 检出当前仓库
- name: Fetch Sources - name: Fetch Sources
uses: actions/checkout@v4 uses: actions/checkout@v4
@ -35,17 +34,15 @@ jobs:
find . -type f -exec sed -i "s/zabbixagent2plugintemplate/$SAFE_REPO_NAME/g" {} + find . -type f -exec sed -i "s/zabbixagent2plugintemplate/$SAFE_REPO_NAME/g" {} +
find . -type f -exec sed -i "s/Zabbix Agent 2 Plugin Template/$REPO_NAME/g" {} + find . -type f -exec sed -i "s/Zabbix Agent 2 Plugin Template/$REPO_NAME/g" {} +
# # 记录文件修改 - name: Commit files
# - name: Commit files run: |
# run: | git config --local user.email "action@github.com"
# git config --local user.email "action@github.com" git config --local user.name "GitHub Action"
# git config --local user.name "GitHub Action" git add .
# git add . git commit -m "Template cleanup"
# git commit -m "Template cleanup"
# - name: Push changes
# # 推送更改 uses: ad-m/github-push-action@master
# - name: Push changes with:
# uses: ad-m/github-push-action@master github_token: ${{ secrets.GITHUB_TOKEN }}
# with: branch: ${{ github.ref }}
# branch: main
# github_token: ${{ secrets.GITHUB_TOKEN }}