Repository navigation
New Catalog App - Create Work Event With Agent #59
Annotations
10 errors, 1 warning, and 2 notices
|
WidgetIdRequiredRule (ACTION):
catalog/createAWorkEventWithAgent/presentation/calendarWorkEvents.pmd#L15
Widget of type 'section' at body is missing required 'id' field. See https://github.com/Workday/WorkdayDeveloperProgram/blob/main/docs/EXAMPLE_BEST_PRACTICES.md#widgetidrequiredrule
|
|
ScriptStringConcatRule (ACTION):
catalog/createAWorkEventWithAgent/presentation/calendarWorkEvents.pmd#L7
File section 'onLoad' uses string concatenation with + operator: ''augmented work event data is ' + jsonasJSONgetWorkEvents.data'. Consider using PMD template strings with backticks and {{ }} syntax instead (e.g., `Hello {{name}}!`). Suggested fix: replace "'augmented work event data is ' + jsonasJSONgetWorkEvents.data" with "`augmented work event data is {{jsonasJSONgetWorkEvents.data}}`". See https://github.com/Workday/WorkdayDeveloperProgram/blob/main/docs/EXAMPLE_BEST_PRACTICES.md#scriptstringconcatrule
|
|
ScriptConsoleLogRule (ACTION):
catalog/createAWorkEventWithAgent/presentation/calendarWorkEvents.pmd#L7
File section 'onLoad' contains console.info statement. Remove debug statements from production code. Suggested fix: replace "console.info('augmented work event data is ' + json:asJSON(getWorkEvents.data));" with "// console.info('augmented work event data is ' + json:asJSON(getWorkEvents.data));". See https://github.com/Workday/WorkdayDeveloperProgram/blob/main/docs/EXAMPLE_BEST_PRACTICES.md#scriptconsolelogrule
|
|
ScriptDescriptiveParameterRule (ACTION):
catalog/createAWorkEventWithAgent/presentation/calendarWorkEvents.pmd#L6
Parameter 'e' in forEach() should be more descriptive. Consider using a more descriptive name, such as 'item' instead. Single-letter parameters make functions that take function parameters harder to read and debug. See https://github.com/Workday/WorkdayDeveloperProgram/blob/main/docs/EXAMPLE_BEST_PRACTICES.md#scriptdescriptiveparameterrule
|
|
PMDSectionOrderingRule (ACTION):
catalog/createAWorkEventWithAgent/presentation/calendarWorkEvents.pmd#L3
PMD sections are not in the correct order.
Expected: [1. id, 2. endPoints, 3. onLoad, 4. presentation]
Actual: [1. id, 2. onLoad, 3. presentation, 4. endPoints] See https://github.com/Workday/WorkdayDeveloperProgram/blob/main/docs/EXAMPLE_BEST_PRACTICES.md#pmdsectionorderingrule
|
|
PMDSecurityDomainRule (ACTION):
catalog/createAWorkEventWithAgent/presentation/calendarWorkEvents.pmd#L1
PMD page is missing required securityDomains list. All PMD pages must define at least one security domain (excludes microConclusion and error pages). See https://github.com/Workday/WorkdayDeveloperProgram/blob/main/docs/EXAMPLE_BEST_PRACTICES.md#pmdsecuritydomainrule
|
|
HubExampleJsonRule (ACTION):
catalog/createAWorkEventWithAgent/example.json#L0
example.json is missing. Copy examples/_template/example.json and fill in title, description, and type. See https://github.com/Workday/WorkdayDeveloperProgram/blob/main/docs/EXAMPLE_BEST_PRACTICES.md#hubexamplejsonrule
|
|
HubReadmeSectionsRule (ACTION):
catalog/createAWorkEventWithAgent/README.md#L0
README.md is missing the sections "## What it is", "## What's inside". Readers need to know what the example is, what is in the folder, and how to use it. See https://github.com/Workday/WorkdayDeveloperProgram/blob/main/docs/EXAMPLE_BEST_PRACTICES.md#hubreadmesectionsrule
|
|
HubReadmeSectionsRule (ACTION):
catalog/createAWorkEventWithAgent/README.md#L0
README.md has no "## Before you deploy" section. List everything a reader must change before this works in their tenant: app reference ids, base URLs, WIDs, security domains, dates or periods. See https://github.com/Workday/WorkdayDeveloperProgram/blob/main/docs/EXAMPLE_BEST_PRACTICES.md#hubreadmesectionsrule
|
|
HubFolderKebabCaseRule (ACTION):
catalog/createAWorkEventWithAgent#L0
Folder name "createAWorkEventWithAgent" is not kebab-case (lowercase letters, digits, and hyphens). Rename it to "create-awork-event-with-agent". Suggested fix: replace "createAWorkEventWithAgent" with "create-awork-event-with-agent". See https://github.com/Workday/WorkdayDeveloperProgram/blob/main/docs/EXAMPLE_BEST_PRACTICES.md#hubfolderkebabcaserule
|
|
audit
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, actions/upload-artifact@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Example audit
334 more finding(s) are listed in the job summary.
|
|
audit
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
|