caffco / changed-packages-github-action Goto Github PK
View Code? Open in Web Editor NEWA Github action to get the packages affected by your changesets
License: MIT License
A Github action to get the packages affected by your changesets
License: MIT License
I'm getting this error when calling this action, here's my workflow file with the relevant information:
name: Add Dependabot changeset
on: pull_request
permissions:
pull-requests: write
contents: write
jobs:
add-changeset:
name: Add changeset
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
steps:
- name: Check out repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Fetch Dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@v1
- name: Get changed packages
id: changes
uses: caffco/[email protected]
- name: Show changed packages
run: echo ${{ steps.changes.outputs.changed_packages }}
And this is what I get in the workflow output:
Then main branch does exist in my repository, and changesets
is also configured; unsure what's causing this issue... ๐ญ
Cool action but.
Warning: To load an ES module, set "type": "module" in the package.json or use the .mjs extension.
(Use `node --trace-warnings ...` to show where the warning was created)
/home/runner/work/_actions/caffco/changed-packages-github-action/v0.0.6/dist/index.js:1
import {createRequire} from 'module';const require=createRequire(import.meta.url);
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.