Giter Club home page Giter Club logo

fast-webhook's People

Contributors

bisand avatar bloerwald avatar dependabot[bot] avatar jasongitmail avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

codybohn bisand

fast-webhook's Issues

Runtime error

Hi there,

I suddenly am running into an error when using this action. I've made no changes and it doesn't seem like you did either. My gut feeling is that this is a change in the underlying GH Actions infra that broke the feature.

My code:

      - name: 'Trigger Netlify deployment'
        uses: jasongitmail/fast-webhook@v1
        with:
          url: ${{ secrets.WEBHOOK_URL }}
          json: '{}'

The error:

Current runner version: '2.272.0'
Operating System
  Ubuntu
  18.04.4
  LTS
Virtual Environment
  Environment: ubuntu-18.04
  Version: 20200802.1
  Included Software: https://github.com/actions/virtual-environments/blob/ubuntu18/20200802.1/images/linux/Ubuntu1804-README.md
Prepare workflow directory
Prepare all required actions
Download action repository 'actions/checkout@v2'
Download action repository 's0/git-publish-subdir-action@develop'
Download action repository 'jasongitmail/fast-webhook@v1'
##[error]jasongitmail/fast-webhook/v1/action.yml (Line: 15, Col: 9): Unexpected value ''
##[error]jasongitmail/fast-webhook/v1/action.yml (Line: 15, Col: 9): Unexpected value ''
##[error]System.ArgumentException: Unexpected type 'NullToken' encountered while reading 'outputs'. The type 'MappingToken' was expected.
   at GitHub.DistributedTask.ObjectTemplating.Tokens.TemplateTokenExtensions.AssertMapping(TemplateToken value, String objectDescription)
   at GitHub.Runner.Worker.ActionManifestManager.Load(IExecutionContext executionContext, String manifestFile)
##[error]Fail to load jasongitmail/fast-webhook/v1/action.yml

Allow Status: 204

Great webhook solution! Very fast. My webhook is working as needed on the other end however It's failing in Githubs eyes:

build Error: Status code was not 200 or 201. Was: 204

I'm familiar with actions having something similar to the following:

steps:
- uses: jasongitmail/fast-webhook@v1
with:
url: ${{ secrets.WEBHOOK }}
json: '{}'
accept: 200,201,204

Let me know if I'm missing something or if there is a similar way for me to input this. From what I can tell URL and JSON are the only inputs available.

Thanks!

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.