Giter Site home page Giter Site logo

Comments (15)

grantmcconnaughey avatar grantmcconnaughey commented on June 18, 2024 3

I got this same error as well when attempting to use this Action with version 2.0.6.

from gh-action-get-changed-files.

sgibson91 avatar sgibson91 commented on June 18, 2024 1

Hi @Poolitzer! I've branched, not forked, and I'm a member of that org ☺️

from gh-action-get-changed-files.

Poolitzer avatar Poolitzer commented on June 18, 2024 1

Destroying my theories in an instant, pfff :(

from gh-action-get-changed-files.

serucee avatar serucee commented on June 18, 2024 1

Hi,

this happens when the action is used in a pull request (atleast for me) and is resolved when using it on push. I assume the payload used in https://github.com/lots0logs/gh-action-get-changed-files/blob/master/main.js#L6 isn't available in the same way for pull requests.

from gh-action-get-changed-files.

adamjstewart avatar adamjstewart commented on June 18, 2024 1

I encountered the same problem, this action does not work for pull requests. For what it's worth, https://github.com/marketplace/actions/file-changes-action has almost identical functionality and works fine for me on pull requests.

from gh-action-get-changed-files.

ndibari-etsy avatar ndibari-etsy commented on June 18, 2024

Hi is there any update on this? Also got the same error on version 2.0.6. Is there a version that does work in the meantime that we can use?

from gh-action-get-changed-files.

lots0logs avatar lots0logs commented on June 18, 2024

Sorry for not noticing this issue before now. I can confirm that v2.0.5 works without issue so long as its used on repos owned by an organization. Not sure when I will have time to look into this new error but I will do it asap.

from gh-action-get-changed-files.

sgibson91 avatar sgibson91 commented on June 18, 2024

I hate to be the bearer of bad new but I am also seeing this error with v2.0.5 😬

... so long as its used on repos owned by an organization.

Can you explain what you mean by this please? This is the repo I'm working on, definitely owned by an org https://github.com/alan-turing-institute/the-turing-way

from gh-action-get-changed-files.

Poolitzer avatar Poolitzer commented on June 18, 2024

Maybe he meant PRs from inside the organization

from gh-action-get-changed-files.

lots0logs avatar lots0logs commented on June 18, 2024

What I meant by that was that the repo is owned by an org account and not a personal user account. We are using v2.0.5 without issue at the company I work for.

from gh-action-get-changed-files.

Poolitzer avatar Poolitzer commented on June 18, 2024

My PR situation is also owned by a company/collective

from gh-action-get-changed-files.

lots0logs avatar lots0logs commented on June 18, 2024

I'll have to dig deeper into this. Not sure off hand what is causing the failure.

from gh-action-get-changed-files.

lots0logs avatar lots0logs commented on June 18, 2024

Thanks. That is helpful!

from gh-action-get-changed-files.

ThiefMaster avatar ThiefMaster commented on June 18, 2024

Happens for me as well and makes this action useless for me - which is a shame, because it's the only action to get a list of changed files that actually looks decent.

from gh-action-get-changed-files.

lots0logs avatar lots0logs commented on June 18, 2024

I'm happy to review a pull request from anyone who has the time to add support for events other than push. I just don't have time right now. Especially since we only use this action on the push event at my job so it works fine.

from gh-action-get-changed-files.

Related Issues (20)

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.