Giter Site home page Giter Site logo

Comments (3)

gr2m avatar gr2m commented on May 24, 2024 2

The problem is that GitHub Actions cannot trigger other GitHub actions when using {{ secrets.GITHUB_TOKEN }} (or it's {{ github.token }} equivalent).

When you use the repository's GITHUB_TOKEN to perform tasks on behalf of the GitHub Actions app, events triggered by the GITHUB_TOKEN will not create a new workflow run

See https://help.github.com/en/actions/configuring-and-managing-workflows/authenticating-with-the-github_token#using-the-github_token-in-a-workflow

To workaround this limitation, create a new secret, e.g. KBIEDRZYCKI_PAT and set it to a personal access token.

Does that resolve your issue?

We should probably add a warning about this limitation to the README 🤔

from request-action.

okhanokbay avatar okhanokbay commented on May 24, 2024 1

wow, legendarily hidden feature! 😃

from request-action.

kbiedrzycki avatar kbiedrzycki commented on May 24, 2024

@gr2m thank you, that was actually an issue - after adding my own github token into secrets everything went smooth. Not sure if README update is needed, I guess it's my fault I haven't checked official docs in first place. Anyway - I will try to memo it somehow as I am planning some series of blog posts around github actions. Thanks again, we can close it.

from request-action.

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.