Skip to content

Commit dccc3b6

Browse files
committed
Fix workflow and disable schedule for a while
1 parent 4df2e44 commit dccc3b6

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

.github/workflows/Update.Unturned.Redist.yaml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
name: "Update.Unturned.Redist"
22

33
on:
4-
schedule:
5-
- cron: "*/15 * * * *" # Run every 15 minutes
4+
#schedule:
5+
# - cron: "*/15 * * * *" # Run every 15 minutes
66
workflow_dispatch:
77
inputs:
88
variant:
@@ -161,20 +161,13 @@ jobs:
161161
echo "Changes detected for ${{ matrix.variant }}"
162162
fi
163163
164-
- name: Commit and push changes
165-
if: steps.check_changes.outputs.has_changes == 'true'
166-
run: |
167-
git add -A
168-
git restore README.md # Restore README.md, cause steamcmd override it.
169-
git status
170-
git commit -m "${{ steps.generate_commit_message.outputs.message }}"
171-
git push origin "$BRANCH_NAME"
172-
173164
- name: Create Pull Request
174165
if: steps.check_changes.outputs.has_changes == 'true'
175166
id: create_pr
176167
uses: peter-evans/create-pull-request@v7
177168
with:
169+
add-paths: |
170+
redist/*
178171
token: ${{ secrets.GITHUB_TOKEN }}
179172
branch: ${{ env.BRANCH_NAME }}
180173
base: master

0 commit comments

Comments
 (0)