We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
nixpkgs
1 parent c3d9524 commit 4652e38Copy full SHA for 4652e38
.github/workflows/update.yml
@@ -14,6 +14,10 @@ on:
14
type: boolean
15
default: true
16
description: Update generated files
17
+ check_for_changes:
18
+ type: boolean
19
+ default: false
20
+ description: Cancel if there are no changes to the `nixpkgs` input
21
22
# Allow one concurrent update per branch
23
concurrency:
@@ -99,8 +103,7 @@ jobs:
99
103
fi
100
104
101
105
- name: Check if nixpkgs input was changed
102
- # The check is run only on scheduled runs
- if: github.event_name == 'schedule'
106
+ if: github.event_name == 'schedule' || inputs.check_for_changes
107
env:
108
pr_num: ${{ steps.open_pr_info.outputs.number }}
109
pr_url: ${{ steps.open_pr_info.outputs.url }}
0 commit comments