Compare commits

..
14 Commits
5 changed files with 50 additions and 11 deletions
+20
View File
@@ -1,5 +1,25 @@
# Changelog
## [1.11.1](https://github.com/SethCohen/github-release-to-discord/compare/v1.11.0...v1.11.1) (2022-08-24)
### Bug Fixes
* fixed ReferenceError on require vs import ([233db9c](https://github.com/SethCohen/github-release-to-discord/commit/233db9c33f9059cbe008e61acf7f321e671f352c))
## [1.11.0](https://github.com/SethCohen/github-release-to-discord/compare/v1.10.1...v1.11.0) (2022-08-24)
### Features
* updated `action.yml` ([e49c674](https://github.com/SethCohen/github-release-to-discord/commit/e49c674890cd5309d63bf570a550ffa0361c9ebc))
* updated `package.json` ([aea0a60](https://github.com/SethCohen/github-release-to-discord/commit/aea0a60ccd2456ae24e6ce7f21c1622a1b3ee18f))
### Bug Fixes
* fixed version tag ([baa4c82](https://github.com/SethCohen/github-release-to-discord/commit/baa4c82901455b2fbc18187cfa8f74f2a171f033))
## [1.10.0](https://github.com/SethCohen/github-release-to-discord/compare/v1.9.0...v1.10.0) (2022-08-24)
+5 -1
View File
@@ -1,4 +1,5 @@
name: Github Releases To Discord
author: SethCohen
description: Send automatic styled releases to Discord.
inputs:
webhook_url:
@@ -18,4 +19,7 @@ inputs:
default: 'https://cdn.discordapp.com/avatars/487431320314576937/bd64361e4ba6313d561d54e78c9e7171.png'
runs:
using: 'node16'
main: 'index.js'
main: 'index.js'
branding:
icon: file-text
color: gray-dark
+3 -3
View File
@@ -1,6 +1,6 @@
const core = require('@actions/core');
const github = require('@actions/github');
const fetch = require('node-fetch')
import core from '@actions/core';
import github from '@actions/github';
import fetch from 'node-fetch';
async function getContext () {
const payload = github.context.payload
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "github-release-to-discord",
"version": "1.10.0",
"version": "1.11.1",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "github-release-to-discord",
"version": "1.10.0",
"version": "1.11.1",
"license": "ISC",
"dependencies": {
"@actions/core": "^1.9.1",
+20 -5
View File
@@ -1,14 +1,29 @@
{
"name": "github-release-to-discord",
"version": "1.10.0",
"description": "",
"version": "1.11.1",
"description": "Github Action that parses a release and sends it to a Discord channel",
"type": "module",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC",
"keywords": [
"discord",
"github",
"release",
"action",
"release-to-discord",
"github-release-to-discord",
"webhook",
"github-action",
"changelog"
],
"author": "SethCohen",
"bugs": {
"url": "https://github.com/SethCohen/github-release-to-discord/issues"
},
"homepage": "https://github.com/SethCohen/github-release-to-discord#readme",
"license": "MIT",
"dependencies": {
"@actions/core": "^1.9.1",
"@actions/github": "^5.0.3",