-
Notifications
You must be signed in to change notification settings - Fork 28
Can't run action on GHES #173
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't working
Milestone
Description
I have seen the similar problem that was already raised but quite unsure if those are identical so that is why i wanted to report it.
Im receiving the error below.

And here is the my action YML. Please advise.
# Unique name for this workflow
name: Pre-Release PR
# Definition when the workflow should run
on:
workflow_dispatch:
pull_request:
types: [opened, edited, synchronize, reopened]
permissions:
pull-requests: write
jobs:
pmd-run:
runs-on: catalyst
steps:
# Now we install nodejs in the VM, and specify version 14
- uses: actions/setup-node@v3
with:
node-version: "14"
# Install java as it is required for the next step
- uses: actions/setup-java@v3
with:
distribution: "temurin"
java-version: "8"
# Checkout the source code
- name: "Checkout source code"
uses: actions/checkout@v3
with:
fetch-depth: 0
# Run PMD scan
- name: "Run PMD scan"
uses: pmd/pmd-github-action@v1.3.0
id: pmd
with:
sourcePath: "force-app"
rulesets: "ruleset.xml"
analyzeModifiedFilesOnly:
createGitHubAnnotations: true
# Check for PMD violations
- name: "Check for PMD violations"
if: steps.pmd.outputs.violations != 0
run: exit 1
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working