-
Notifications
You must be signed in to change notification settings - Fork 2
35 lines (32 loc) · 1008 Bytes
/
generate.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Generate
on:
workflow_dispatch:
schedule:
- cron: "0 3 * * 6"
permissions:
contents: write
pull-requests: write
jobs:
generate:
name: Generate plugin list
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Nix
uses: cachix/install-nix-action@v30
with:
nix_path: nixpkgs=channel:nixos-24.11
- name: Run generator
run: |
nix run '.#_nix-jebrains-plugins-generator' -- --output-path ./generated generate
nix run '.#_nix-jebrains-plugins-generator' -- --output-path ./generated cleanup
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
add-paths: .
title: Plugin Updates
body: Autogenerated by ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
commit-message: Plugin Updates
branch: plugin-updates
delete-branch: true