Coder Social home page Coder Social logo

Comments (3)

cicirello avatar cicirello commented on June 16, 2024 1

The permissions for the GITHUB_TOKEN aren't able to comment on pull requests from forks, under most circumstances (e.g. it can if I rerun the workflow). It's a GitHub Actions security thing. I have silent failures for that step of workflow on purpose to avoid GitHub Actions failing workflow runs on pull requests due to just that, mainly for PRs from dependabot which are the only ones that will automatically cause workflow to run. I have things set to require approval for workflow runs for PRs from outside contributors. In those cases, once I approve the run, the Actions token is able to comment on the PR.

The coverage report itself is actually generated and saved as a workflow artifact, which you should be able to find via the Actions tab. You can also find it if you build locally (mvn clean package -P coverage) in the target/site directory.

I don't see a PR from you so I'm assuming you ran the build workflow within a fork or clone. So there might be additional token permissions issues beyond PR commenting (GitHub has default token permissions locked down quite a bit).

from chips-n-salsa.

N-Wouda avatar N-Wouda commented on June 16, 2024 1

Alright, thanks for the explanation!

from chips-n-salsa.

cicirello avatar cicirello commented on June 16, 2024

@N-Wouda you're welcome

from chips-n-salsa.

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.