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
Fixes #56
Add changie validation job to lint action in `.github/workflows/lint.yml`.
* **Add changie-validation job:**
- Check for `.changes` directory and skip validation if not found.
- Check for changie entry in `.changes/unreleased`.
- Check for `no-changie-required` or `dependencies` label and skip validation if present.
- Fail if no changie entry and no relevant label found, and post a comment on the pull request if validation fails.
---
For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/DelineaXPM/dsv-github-action/issues/56?shareId=XXXX-XXXX-XXXX-XXXX).
Fixes#82
Add changie validation job to lint action.
* Add a new job `changie-validation` to `.github/workflows/lint.yml` to check for changie entries in `.changes/unreleased` directory.
* Skip the `changie-validation` job if the `.changes` directory does not exist.
* Skip the `changie-validation` job if the labels `no-changie-required` or `dependencies` are set.
* Replace deprecated `set-output` command with `echo "{name}={value}" >> $GITHUB_OUTPUT` in the `changie-validation` job.
* Add a comment using the gh cli if a changie entry is required, ensuring only a single comment is made and updated if it was closed.
---
For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/DelineaXPM/github-workflows/issues/82?shareId=XXXX-XXXX-XXXX-XXXX).
.changes/unreleased
to be included.no-changie-required
then this can be bypassed.dependencies
is set then this will also be a bypass..github/workflows
.set-output
command withecho "{name}={value}" >> $GITHUB_OUTPUT
Additional requirements:
The text was updated successfully, but these errors were encountered: