From d97f233291434632cbca68da382db2ee26ab9b0b Mon Sep 17 00:00:00 2001 From: SethCohen <47002293+SethCohen@users.noreply.github.com> Date: Wed, 24 Aug 2022 00:37:18 -0400 Subject: [PATCH 1/2] chore(master): release 1.10.0 --- CHANGELOG.md | 7 +++++++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 117b199..ffc8abb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [1.10.0](https://github.com/SethCohen/github-release-to-discord/compare/v1.9.0...v1.10.0) (2022-08-24) + + +### Features + +* added dependencies and removed `.idea` ([fd59991](https://github.com/SethCohen/github-release-to-discord/commit/fd59991cc10608712b6e30a81f3cf0358c7dcf9d)) + ## [1.9.0](https://github.com/SethCohen/github-release-to-discord/compare/v1.8.0...v1.9.0) (2022-08-24) diff --git a/package-lock.json b/package-lock.json index 0335db9..d503b4d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "github-release-to-discord", - "version": "1.9.0", + "version": "1.10.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "github-release-to-discord", - "version": "1.9.0", + "version": "1.10.0", "license": "ISC", "dependencies": { "@actions/core": "^1.9.1", diff --git a/package.json b/package.json index a4650b0..16c12f5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "github-release-to-discord", - "version": "1.9.0", + "version": "1.10.0", "description": "", "main": "index.js", "scripts": { From baad0090bf8b13f317a17b9ea382494221f3ff93 Mon Sep 17 00:00:00 2001 From: SethCohen Date: Wed, 24 Aug 2022 00:40:43 -0400 Subject: [PATCH 2/2] fixed: fixed `fetch` import --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 8f8cf61..ae95b70 100644 --- a/index.js +++ b/index.js @@ -1,6 +1,6 @@ const core = require('@actions/core'); const github = require('@actions/github'); -const fetch = require('node-fetch') +import fetch from 'node-fetch' async function getContext () { const payload = github.context.payload