Coder Social home page Coder Social logo

mattermost / action-mattermost-notify Goto Github PK

View Code? Open in Web Editor NEW
42.0 42.0 9.0 2.22 MB

GitHub Action for sending a notification to a Mattermost channel

Home Page: https://github.com/mattermost/action-mattermost-notify

JavaScript 100.00%
github-actions go golang hacktoberfest mattermost

action-mattermost-notify's Issues

cannot find package "github.com/mattermost/mattermost-server/v5/model"

Build container for action use: '/runner/_work/_actions/mattermost/action-mattermost-notify/master/Dockerfile'.
/usr/local/bin/docker build -t 60e226:220ad6d212c0422aa68464ae940599ec -f "/runner/_work/_actions/mattermost/action-mattermost-notify/master/Dockerfile" "/runner/_work/_actions/mattermost/action-mattermost-notify/master"
Sending build context to Docker daemon 65.02kB

Step 1/11 : FROM golang:1.14
1.14: Pulling from library/golang
0ecb575e629c: Pulling fs layer
7467d1831b69: Pulling fs layer
feab2c490a3c: Pulling fs layer
f15a0f46f8c3: Pulling fs layer
1517911a35d7: Pulling fs layer
48bbd1746d63: Pulling fs layer
944903612fdd: Pulling fs layer
f15a0f46f8c3: Waiting
1517911a35d7: Waiting
48bbd1746d63: Waiting
944903612fdd: Waiting
feab2c490a3c: Download complete
7467d1831b69: Verifying Checksum
7467d1831b69: Download complete
0ecb575e629c: Download complete
f15a0f46f8c3: Verifying Checksum
f15a0f46f8c3: Download complete
1517911a35d7: Verifying Checksum
1517911a35d7: Download complete
944903612fdd: Verifying Checksum
944903612fdd: Download complete
48bbd1746d63: Verifying Checksum
48bbd1746d63: Download complete
0ecb575e629c: Pull complete
7467d1831b69: Pull complete
feab2c490a3c: Pull complete
f15a0f46f8c3: Pull complete
1517911a35d7: Pull complete
48bbd1746d63: Pull complete
944903612fdd: Pull complete
Digest: sha256:1a7173b5b9a3af3e29a5837e0b2027e1c438fd1b83bbee8f221355087ad416d6
Status: Downloaded newer image for golang:1.14
---> 21a5635903d6
Step 2/11 : LABEL version="1.0.2"
---> Running in b9b3cc309110
Removing intermediate container b9b3cc309110
---> 4604fc9d1b48
Step 3/11 : LABEL maintainer="mattermost"
---> Running in cf4776f39ef1
Removing intermediate container cf4776f39ef1
---> afb1f72e14f2
Step 4/11 : LABEL repository="http://github.com/mattermost/action-mattermost-notify"
---> Running in 3390a9a8b70f
Removing intermediate container 3390a9a8b70f
---> 39bbf90f4e7c
Step 5/11 : LABEL homepage="http://github.com/mattermost/action-mattermost-notify"
---> Running in c086fe952d34
Removing intermediate container c086fe952d34
---> 240233c1e2a0
Step 6/11 : LABEL "com.github.actions.name"="Mattermost"
---> Running in 27697b576da7
Removing intermediate container 27697b576da7
---> 4c7b6536b9e7
Step 7/11 : LABEL "com.github.actions.description"="Send a Mattermost message"
---> Running in f8eedaedd567
Removing intermediate container f8eedaedd567
---> b0bb48b625f5
Step 8/11 : LABEL "com.github.actions.icon"="send"
---> Running in a8e6912316f3
Removing intermediate container a8e6912316f3
---> 8a88f42670db
Step 9/11 : LABEL "com.github.actions.color"="blue"
---> Running in 4add31482281
Removing intermediate container 4add31482281
---> a3584aa9cdf6
Step 10/11 : RUN go get github.com/mattermost/action-mattermost-notify
---> Running in 44feb92d3171
package github.com/mattermost/mattermost-server/v5/model: cannot find package "github.com/mattermost/mattermost-server/v5/model" in any of:
/usr/local/go/src/github.com/mattermost/mattermost-server/v5/model (from $GOROOT)
/go/src/github.com/mattermost/mattermost-server/v5/model (from $GOPATH)
The command '/bin/sh -c go get github.com/mattermost/action-mattermost-notify' returned a non-zero code: 1

After the latest update, action use reports "MATTERMOST_WEBHOOK_URL" not set

Starting this morning, I'm getting a message when trying to use this action that "MATTERMOST_WEBHOOK_URL" is not set, but it is set in the environment where the action is called. This was previously working as of Friday last week.

Run mattermost/action-mattermost-notify@master
  with:
    PAYLOAD_FILENAME: mattermost.json
  env:
    MATTERMOST_WEBHOOK_URL: [redacted]
    MATTERMOST_CHANNEL: devops
    MATTERMOST_USERNAME: github
Error: Input required and not supplied: MATTERMOST_WEBHOOK_URL

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.