Make PRs only if a new commit was made. (#18)
Reviewed-on: #18 Co-authored-by: Philipp Horstenkamp <philipp@horstenkamp.de> Co-committed-by: Philipp Horstenkamp <philipp@horstenkamp.de>
This commit is contained in:
parent
e253c6f120
commit
1c9d3972a7
@ -2,7 +2,7 @@ name: Auto Maintenance Cycle
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 1 * * *'
|
||||
- cron: 0 1 * * *
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
@ -27,6 +27,7 @@ jobs:
|
||||
- name: Generate Date
|
||||
run: echo "CURRENT_DATE=$(date +'%Y-%m-%d')" >> $GITHUB_ENV
|
||||
- name: Create an PR action
|
||||
if: steps.auto-commit-action.outputs.changes_detected == 'true'
|
||||
uses: ./
|
||||
with:
|
||||
token: ${{ secrets.REPO_TOKEN }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user