Compare commits

..
11 Commits
5 changed files with 41 additions and 9 deletions
+13
View File
@@ -1,5 +1,18 @@
# Changelog # Changelog
## [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) ## [1.10.0](https://github.com/SethCohen/github-release-to-discord/compare/v1.9.0...v1.10.0) (2022-08-24)
+4
View File
@@ -1,4 +1,5 @@
name: Github Releases To Discord name: Github Releases To Discord
author: SethCohen
description: Send automatic styled releases to Discord. description: Send automatic styled releases to Discord.
inputs: inputs:
webhook_url: webhook_url:
@@ -19,3 +20,6 @@ inputs:
runs: runs:
using: 'node16' using: 'node16'
main: 'index.js' main: 'index.js'
branding:
icon: file-text
color: gray-dark
+1 -1
View File
@@ -1,6 +1,6 @@
const core = require('@actions/core'); const core = require('@actions/core');
const github = require('@actions/github'); const github = require('@actions/github');
const fetch = require('node-fetch') import fetch from 'node-fetch'
async function getContext () { async function getContext () {
const payload = github.context.payload const payload = github.context.payload
+2 -2
View File
@@ -1,12 +1,12 @@
{ {
"name": "github-release-to-discord", "name": "github-release-to-discord",
"version": "1.10.0", "version": "1.11.0",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "github-release-to-discord", "name": "github-release-to-discord",
"version": "1.10.0", "version": "1.11.0",
"license": "ISC", "license": "ISC",
"dependencies": { "dependencies": {
"@actions/core": "^1.9.1", "@actions/core": "^1.9.1",
+20 -5
View File
@@ -1,14 +1,29 @@
{ {
"name": "github-release-to-discord", "name": "github-release-to-discord",
"version": "1.10.0", "version": "1.11.0",
"description": "", "description": "Github Action that parses a release and sends it to a Discord channel",
"type": "module",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"test": "echo \"Error: no test specified\" && exit 1" "test": "echo \"Error: no test specified\" && exit 1"
}, },
"keywords": [], "keywords": [
"author": "", "discord",
"license": "ISC", "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": { "dependencies": {
"@actions/core": "^1.9.1", "@actions/core": "^1.9.1",
"@actions/github": "^5.0.3", "@actions/github": "^5.0.3",