Skip to content

Instantly share code, notes, and snippets.

@jdevalk
Created January 23, 2024 13:23
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save jdevalk/da9ac8f2acc6eada6dd10a8b114bc6cf to your computer and use it in GitHub Desktop.
Example implementation of a yarn lock change comment
name: Yarn Lock Changes
on:
pull_request:
paths:
- 'yarn.lock'
jobs:
yarn_lock_changes:
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Yarn Lock Changes
# Please use `main` as version before the stable release will be published as `v1`.
uses: Simek/yarn-lock-changes@main
with:
token: ${{ secrets.GITHUB_TOKEN }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment