Giter Site home page Giter Site logo

Comments (4)

kcajmagic avatar kcajmagic commented on July 17, 2024

This appears to be an issue with actions not triggering other actions.

https://github.community/t/action-does-not-trigger-another-on-push-tag-action/17148

from create-release.

subnut avatar subnut commented on July 17, 2024

It is working. I'm using it here

I use it like this -

git tag v0.0.16
git push github v0.0.16

And the release v0.0.16 is created automatically

from create-release.

kcajmagic avatar kcajmagic commented on July 17, 2024

The issue occurs when tags are created from a GitHub actions.
aka

      - name: Bump version and push tag 
        id: tag_generator
        uses: ChloePlanet/github-tag-action@master
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
          WITH_V: true

followed by

      - name: Create Release
        id: create_release
        uses: actions/create-release@v1
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        with:
          tag_name: ${{ steps.tag_generator.outputs.new_tag }} 
          release_name: Release ${{ steps.tag_generator.outputs.new_tag }} 
          body: "[CHANGE LOG](HISTORY.md)"

A work around is using a personal access token.

from create-release.

subnut avatar subnut commented on July 17, 2024

It is mentioned in the GitHub Docs -

Note: You cannot trigger new workflow runs using the GITHUB_TOKEN. For more information, see "Triggering new workflows using a personal access token."

from create-release.

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.