Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 27 to 30. - [Release notes](https://github.com/cachix/install-nix-action/releases) - [Commits](https://github.com/cachix/install-nix-action/compare/v27...v30) --- updated-dependencies: - dependency-name: cachix/install-nix-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
36 lines
1,011 B
YAML
36 lines
1,011 B
YAML
name: Generate
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
schedule:
|
|
# Run this workflow every week at 03:34 am
|
|
- cron: "34 3 */7 * *"
|
|
|
|
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
|
|
- 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
|
|
token: ${{ secrets.FLATHUB_GITHUB_TOKEN }}
|