A GitHub Action for creating Changesets files for dependencies updates.

Overview

changesets-dependencies-action

A GitHub Action for creating Changesets files for dependencies updates.

This action will automatically monitor all your PRs, and find changes in package.json files. Then it creates/updates a changeset file, and commits it to your PR.

Works great with Renovate and dependabot!

Usage

Create a GitHub Actions workflow with the following:

name: dependencies
on: pull_request
jobs:
  changeset:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v3
        with:
          fetch-depth: 0

      - name: Create/Update Changesets
        uses: "the-guild-org/changesets-dependencies-action@main"
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
You might also like...

✂️ Find unused files, dependencies and exports in your TypeScript project

✂️ Knip Knip scans your JavaScript and TypeScript projects for unused files, dependencies and exports: things that can be removed! Less code means bet

Jan 1, 2023

A github action that provides detailed bundle analysis on PRs for next.js apps

A github action that provides detailed bundle analysis on PRs for next.js apps

Next.js Bundle Analysis Github Action Analyzes each PR's impact on your next.js app's bundle size and displays it using a comment. Optionally supports

Dec 27, 2022

Setup-graalvm - GitHub Action for setting up GraalVM CE.

GitHub Action for GraalVM This GitHub action sets up GraalVM Community Edition and GraalVM components such as Native Image and GraalVM languages. Key

Jan 2, 2023

A GitHub Action for pushing to a repo.

action-gh-push A GitHub Action for pushing to a repo. 🤸 Usage Below is a simple example of step.if tag gating name: ci on: push jobs: build:

Feb 15, 2022

A GitHub Action to cache your workload to a Google Cloud Storage bucket.

A GitHub Action to cache your workload to a Google Cloud Storage bucket.

Google Cloud Storage Cache Action GitHub already provides an awesome action to cache your workload to Azure's servers hosted in United States. However

Dec 15, 2022

🤖 GitHub Action which creates Issues from comments in your code

🤖 GitHub Action which creates Issues from comments in your code

todo-issue[action] Disclosure Huge thanks to JasonEtco! After he decided to shut down his todo[bot] I've looked around for alternatives but decided to

Dec 11, 2022

GitHub action to install Foundry

foundry-toolchain Action This GitHub action installs Foundry. Example workflow on: [push] name: test jobs: check: name: Foundry project ru

Jan 5, 2023

GitHub action code for VMware Image Builder (VIB).

VMware Image Builder Overview This GitHub Action allows to interact with the VMware Image Builder service from VMware, a.k.a. VIB. VIB is a SaaS servi

Dec 22, 2022

⚙️ A GitHub Action to push a feed item to RSS3 network

RSS3 Github Action Update a users feed to reflect changes in a Github Repository. Setup Have a copy of your private key Add an environment secret to y

Apr 26, 2022
Comments
  • fix: use `coerce` from semver when constructing npmjs link

    fix: use `coerce` from semver when constructing npmjs link

    Using clean was returning null for partial ranges using a caret, resulting in invalid npmjs links. Using coerce returns a SemVer object, from which we can take the version property and use to build a valid link.

    fixes https://github.com/the-guild-org/changesets-dependencies-action/issues/1

    opened by cpsoinos 2
  • Invalid npmjs.com package links in generated changeset files

    Invalid npmjs.com package links in generated changeset files

    Updated package versions are being parsed incorrectly when generating the npmjs.com link for a package. For example:

    dependencies updates: 
    
    - Updated dependency [`eslint-plugin-yml@^0.15.0` ↗︎](https://www.npmjs.com/package/eslint-plugin-yml/v/null) (from `^0.14.0`, in `dependencies`)
    

    The clean function from semver is returning null when passed '^0.15.0'; it doesn't like the caret.

    This could be fixed by using semver's coerce function and taking the resulting SemVer object's version to use in the URL.

    opened by cpsoinos 0
Releases(v1.1.0)
  • v1.1.0(Sep 25, 2022)

    • Fix for semver version being null sometimes (https://github.com/the-guild-org/changesets-dependencies-action/pull/2, thanks cpsoinos)
    • Respect prettier config and run prettier on the generated changesets files
    • Improve GitHub Integration and now this action can create commits that triggers CI (see README)
    Source code(tar.gz)
    Source code(zip)
Owner
The Guild
A group of open source developers, bringing a different approach for sustainable open source. Our philosophy is to place our libraries under a person's name.
The Guild
Grupprojekt för kurserna 'Javascript med Ramverk' och 'Agil Utveckling'

JavaScript-med-Ramverk-Laboration-3 Grupprojektet för kurserna Javascript med Ramverk och Agil Utveckling. Utvecklingsguide För information om hur utv

Svante Jonsson IT-Högskolan 3 May 18, 2022
Hemsida för personer i Sverige som kan och vill erbjuda boende till människor på flykt

Getting Started with Create React App This project was bootstrapped with Create React App. Available Scripts In the project directory, you can run: np

null 4 May 3, 2022
Kurs-repo för kursen Webbserver och Databaser

Webbserver och databaser This repository is meant for CME students to access exercises and codealongs that happen throughout the course. I hope you wi

null 14 Jan 3, 2023
A custom action for setting GitHub Workflow environment variables with YAML configuration files.

yaml-env-action - A custom action for setting GitHub Workflow environment variables with YAML configuration files. Introduction yaml-env-action is a c

Piper Dougherty 3 Dec 13, 2022
Github action to parse OWNERS files and outputs random reviewers

Get Owners Github Action Do you want to have all the approvers and reviewers without having strange scripts in your actions? Do you want to have rando

Ugo Palatucci 3 Oct 22, 2022
iCloud Shared Album → GitHub Action → Jekyll data files

stories-feed-action A GitHub Action that fetches a from an iCloud shared album, commits the images into the repository, and then generate a data file

Mu-An Chiou 12 Nov 24, 2022
GitHub Action that posts the report in a comment on a GitHub Pull Request from coverage data generated by nyc (istanbul)

GitHub Action: Report NYC coverage GitHub Action that posts the report in a comment on a GitHub Pull Request from coverage data generated by nyc (ista

Sid 16 Nov 23, 2022
A GitHub action to submit your dependency graph from your Mill build to GitHub.

Mill Dependency Submission A GitHub action to submit your dependency graph from your Mill build to GitHub via their Dependency Submission API. The mai

Chris Kipp 6 Dec 15, 2022
A GitHub Action that allows to debug GitHub workflows using VS Code.

VS Code Server Action A GitHub Action that allows to debug GitHub workflows using VS Code. Failing CI builds can be annoying especially since we don't

stateful 18 Dec 23, 2022
Find and fix dangling files and unused dependencies in your JavaScript projects.

unimported Find unused source files in javascript / typescript projects. While adding new code to our projects, we might forget to remove the old code

Stephan Meijer 1.6k Jan 4, 2023