Skip to content

Commit f467ee0

Browse files
authored
ci: Add empty commit step to workflow
Add step to commit empty changes to keep workflow active.
1 parent adebd0d commit f467ee0

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/debian.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,12 @@ jobs:
2929
run: |
3030
MATRIX_JSON=$(node ./scripts/get_all_versions.mjs)
3131
echo "matrix=$MATRIX_JSON" >> $GITHUB_OUTPUT
32+
- name: Commit empty changes
33+
run: |
34+
git config --local user.email "action@github.com"
35+
git config --local user.name "GitHub Action"
36+
git commit --allow-empty -m "Keep workflow active on $(date +'%Y-%m-%d %H:%M')"
37+
git push
3238
docker:
3339
runs-on: ubuntu-latest
3440
needs: generate-matrix
@@ -239,4 +245,4 @@ jobs:
239245
with:
240246
username: ${{ secrets.DOCKERHUB_USERNAME }}
241247
password: ${{ secrets.DOCKERHUB_TOKEN }}
242-
repository: yunnysunny/easy-monitor
248+
repository: yunnysunny/easy-monitor

0 commit comments

Comments
 (0)