Create add-permission workflow.yml

This commit is contained in:
tmxk2021 authored and GitHub committed 2024-12-20 14:04:04 +08:00
1 parent 25d1528e28
commit 840fb976cc
1 file changed
+24
+24
View File
@@ -0,0 +1,24 @@
name: Add execute permission
on:
push:
paths:
- setup_hkdvb.sh
jobs:
add-permission:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Add execute permission
run: chmod +x setup_hkdvb.sh
- name: Commit changes
run: |
git config --global user.email "you@example.com"
git config --global user.name "Your Name"
git add setup_hkdvb.sh
git commit -m "Add execute permission to setup_hkdvb.sh"
git push