mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 08:35:43 +02:00
github/update: sync with main
This commit is contained in:
parent
6c0793158d
commit
eef2f4c6b1
1 changed files with 19 additions and 8 deletions
27
.github/workflows/update.yml
vendored
27
.github/workflows/update.yml
vendored
|
@ -1,17 +1,29 @@
|
||||||
name: update
|
name: update
|
||||||
on:
|
on:
|
||||||
workflow_dispatch: # allows manual triggering
|
# Runs every Saturday at noon
|
||||||
|
schedule:
|
||||||
|
- cron: "0 12 * * SAT"
|
||||||
|
# Allow manual triggering
|
||||||
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
|
||||||
|
# Allow one concurrent update per branch
|
||||||
|
concurrency:
|
||||||
|
group: "update-${{ github.ref_name }}"
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
|
# Allow running workflows, pushing and creating PRs
|
||||||
|
permissions:
|
||||||
|
actions: write
|
||||||
|
contents: write
|
||||||
|
pull-requests: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
lockfile:
|
update:
|
||||||
name: Update the flake inputs
|
name: Update the flake inputs
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
timeout-minutes: 40
|
timeout-minutes: 40
|
||||||
|
|
||||||
permissions:
|
|
||||||
contents: write
|
|
||||||
pull-requests: write
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
@ -45,10 +57,9 @@ jobs:
|
||||||
id: pr
|
id: pr
|
||||||
uses: peter-evans/create-pull-request@v6
|
uses: peter-evans/create-pull-request@v6
|
||||||
with:
|
with:
|
||||||
|
add-paths: "!**"
|
||||||
branch: update/${{ github.ref_name }}
|
branch: update/${{ github.ref_name }}
|
||||||
delete-branch: true
|
delete-branch: true
|
||||||
team-reviewers: |
|
|
||||||
nix-community/nixvim
|
|
||||||
title: |
|
title: |
|
||||||
[${{ github.ref_name }}] Update flake.lock
|
[${{ github.ref_name }}] Update flake.lock
|
||||||
body: |
|
body: |
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue