You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@henrik dropped you a teams message here's the draft of the EQL API pending further input.
Gate Movement API - EDI CODECO Equivalent
Announcement API - for release and approval of containers to container facilities - EDI COPARN Equivalent
Hire API - In discussion with IICL - note the use of depot and Party in schema, lifted from the IICL Depot Lifecycle API we have a PR in with them mirroring here to allow discussion only in equipment calls.
Also added to the truckTransportCall in the event domain, created a new version as a minor non breaking change, we need to for the US add the Trucker SCAC to the Gate messages.
NOTE: still work to do on this API feedback pending.
The action failed because the GitHub Script detected changes to a forbidden file and explicitly called core.setFailed. - The script read .github/forbidden_changes.txt to obtain regex patterns of disallowed paths. - It compared the changed files against these patterns and found a violation. - It then set the job to failed with the message: You are not allowed to change the following file(s): domain/event/event_domain_v3.2.1.yaml (see log line 197).
Relevant error logs:
1: ##[group]Runner Image Provisioner2: Hosted Compute Agent
...
111: git switch -c <new-branch-name>112: Or undo this operation with:113: git switch -114: Turn off this advice by setting config variable advice.detachedHead to false115: HEAD is now at 00e2431 Merge fb68f7b1c9392747d3647b56adbbfb1c6cef62c7 into 8e6aed40305011223d728116e1de1bd32eaaa434116: ##[endgroup]117: [command]/usr/bin/git log -1 --format=%H118: 00e2431d0927939bcb009b0964572161ad31c39b119: ##[group]Run actions/github-script@v7120: with:121: script: const fs = require('fs');122: try {123: const forbiddenPaths = fs.readFileSync('.github/forbidden_changes.txt', 'utf8').split('\n').filter(path => path.trim() !== ''); // Read and filter empty lines124: console.log("Found valid lines (files): " + forbiddenPaths.length);125: return forbiddenPaths;126: } catch (error) {127: core.setFailed('Could not read forbidden paths file: ' + error.message);128: return [];
...
167: const changedFiles = changedFilesString.split(',');168:
169: let violations = [];170:
171: changedFiles.forEach(file => {172: forbiddenPaths.forEach(forbiddenPath => {173: // console.log("Processing file: " + file + " with forbidden path: " + forbiddenPath);174: const regex = new RegExp(forbiddenPath); // Use regex for matching175: if (regex.test(file)) {176: violations.push(file);177: }178: });179: });180:
181: if (violations.length > 0) {182: core.setFailed(`You are not allowed to change the following file(s): ${violations.join(', ')}`);183: // Create a comment on the PR184: await github.rest.issues.createComment({185: issue_number: context.issue.number,186: owner: context.repo.owner,187: repo: context.repo.repo,188: body: `**Error**: The following file(s) are not allowed to be changed: ${violations.join(', ')}`189: });190: }191: debug: false192: user-agent: actions/github-script193: result-encoding: json194: retries: 0195: retry-exempt-status-codes: 400,401,403,404,422196: ##[endgroup]197: ##[error]You are not allowed to change the following file(s): domain/event/event_domain_v3.2.1.yaml198: Post job cleanup.
Error: The following file(s) are not allowed to be changed: domain/event/event_domain_v3.2.1.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
@henrik dropped you a teams message here's the draft of the EQL API pending further input.
depotandPartyin schema, lifted from the IICL Depot Lifecycle API we have a PR in with them mirroring here to allow discussion only in equipment calls.Also added to the
truckTransportCallin the event domain, created a new version as a minor non breaking change, we need to for the US add the Trucker SCAC to the Gate messages.NOTE: still work to do on this API feedback pending.