Skip to content
edit-3

GitHub Action

post-compare-link

v0.1.4 Latest version

post-compare-link

edit-3

post-compare-link

Post compare link when flake.lock changes

Installation

Copy and paste the following snippet into your .yml file.

              

- name: post-compare-link

uses: NuschtOS/[email protected]

Learn more about this action in NuschtOS/flake-lock-compare-action

Choose a version

flake.lock compare action

This action can be used to help reviewing input changes in flake.lock files.

It functions by comparing the changed flake.lock file with the previous version and using these information to post a continuously updated comment with compare links.

Example usage

name: Post compare link when flake.lock changes

permissions:
  issues: write
  pull-requests: write

on:
  pull_request:
    paths: ['flake.lock']

jobs:
  post-compare-link:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
        with:
          fetch-depth: 0
      - uses: NuschtOS/flake-lock-compare-action@main