mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
ci/update: add input checkbox for checking nixpkgs
was bumped
This is done by default when scheduled, but can be explicitly enabled when running manually.
This commit is contained in:
parent
c3d95240c4
commit
4652e38ee6
1 changed files with 5 additions and 2 deletions
7
.github/workflows/update.yml
vendored
7
.github/workflows/update.yml
vendored
|
@ -14,6 +14,10 @@ on:
|
|||
type: boolean
|
||||
default: true
|
||||
description: Update generated files
|
||||
check_for_changes:
|
||||
type: boolean
|
||||
default: false
|
||||
description: Cancel if there are no changes to the `nixpkgs` input
|
||||
|
||||
# Allow one concurrent update per branch
|
||||
concurrency:
|
||||
|
@ -99,8 +103,7 @@ jobs:
|
|||
fi
|
||||
|
||||
- name: Check if nixpkgs input was changed
|
||||
# The check is run only on scheduled runs
|
||||
if: github.event_name == 'schedule'
|
||||
if: github.event_name == 'schedule' || inputs.check_for_changes
|
||||
env:
|
||||
pr_num: ${{ steps.open_pr_info.outputs.number }}
|
||||
pr_url: ${{ steps.open_pr_info.outputs.url }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue