PMD GitHub Action not allowed #6512
-
|
Hi, Can you please help me on below error, while running PMD, it's getting failed with below error. Script: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
|
Seems like you need to allow actions, see https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#allowing-select-actions-and-reusable-workflows-to-run Please note, that |
Beta Was this translation helpful? Give feedback.
-
|
As you can see on https://github.com/marketplace/actions/pmd there is no badge indicating the pmd is a verified creator on github's marketplace. So you'll need to explicitly whitelist the action if you want to use it. Also note: there is no In order to allow pmd-github-action, you need to enter Also note: the latest version of |
Beta Was this translation helpful? Give feedback.

As you can see on https://github.com/marketplace/actions/pmd there is no badge indicating the pmd is a verified creator on github's marketplace. So you'll need to explicitly whitelist the action if you want to use it.
Also note: there is no
pmd/pmd-github-action@v3- latest version is 2.0.0, as you can see here: https://github.com/pmd/pmd-github-action/releasesIn order to allow pmd-github-action, you need to enter
pmd/pmd-github-action@v2into the textarea labelled "Allow or block specified actions and reusable workflows".Also note: the latest version of
action/checkoutis not 5 but 6, see https://github.com/actions/checkout/releases