Skip to content

CLARIN-DSpace v9/Port #1341 (new_issue_label workflow) to the v9 base - #1434

Merged
milanmajchrak merged 1 commit into
dtq-dev-9-basefrom
ufal/port-1341-9-base
Sep 10, 2026
Merged

CLARIN-DSpace v9/Port #1341 (new_issue_label workflow) to the v9 base#1434
milanmajchrak merged 1 commit into
dtq-dev-9-basefrom
ufal/port-1341-9-base

Conversation

@milanmajchrak

Copy link
Copy Markdown
Collaborator

What

Ports dataquest-dev/DSpace PR #1341 ("Autolabel for new issues", commit 882904ba35) to
dtq-dev-9-base. Adds one file, .github/workflows/new_issue_label.yml — the issues: [opened]
workflow that calls dataquest-dev/gh-actions/start@main to auto-label newly opened issues.

Sync card: BE-19 (_sync3/cards/BE-19.md, tranche T4, disposition PORT, size S, risk low).

Why

Branch asymmetry, not a behaviour gap. The FE 9-base branch already carries the identical
workflow (dataquest-dev/dspace-angular 2b87775fe7); only BE 9-base was missing it:

$ git ls-tree origin/dtq-dev-9-base .github/workflows/ | wc -l
12                       # no new_issue_label.yml among them
$ git ls-tree origin/dtq-dev .github/workflows/new_issue_label.yml
100644 blob e9fcf70ae6c950d03833ce10b818b4bedba4afbd	.github/workflows/new_issue_label.yml

GitHub dispatches issues events exclusively from the repository's default branch
(dtq-dev), so this copy is inert on dtq-dev-9-base today. It exists so that a future
dtq-dev-9-basedtq-dev merge does not delete the workflow, and so the two 9-base
branches stay symmetric. It changes no CI policy on this branch.

Changes

Clean git cherry-pick -x 882904ba35; no conflict. One file, +18/−0.

Testing

Blob parity with the source branch (AC-BE-19-1):

$ git ls-tree <head> .github/workflows/new_issue_label.yml | awk '{print $3}'
e9fcf70ae6c950d03833ce10b818b4bedba4afbd
$ git diff --quiet origin/dtq-dev <head> -- .github/workflows/new_issue_label.yml && echo OK
OK

YAML validity (AC-BE-19-2):

$ python -c "import yaml;print(list(yaml.safe_load(open('.github/workflows/new_issue_label.yml')).keys()))"
['name', True, 'jobs']

Hunk-level parity — the source patch and this branch's patch are byte-identical, so every
one of the 18 added lines is accounted for:

$ git diff 882904ba35^ 882904ba35 -- .github/workflows/new_issue_label.yml > src.diff
$ git diff origin/dtq-dev-9-base <head>  -- .github/workflows/new_issue_label.yml > tgt.diff
$ diff src.diff tgt.diff && echo IDENTICAL
IDENTICAL

No Java, config or Flyway migration touched, so no local Maven gate applies; CI checks are the
remaining gate.

🤖 Generated with Claude Code

Source: 882904b (dtq-dev PR #1341)

Adds `.github/workflows/new_issue_label.yml`, the `issues: [opened]` workflow that
calls `dataquest-dev/gh-actions/start@main` to auto-label newly opened issues.

Pure parity pick: the FE 9-base branch already carries the identical workflow
(dspace-angular 2b87775fe7), only BE 9-base was missing it. GitHub runs `issues`
events exclusively from the repository's default branch (`dtq-dev`), so the copy
on `dtq-dev-9-base` is inert today; it exists so a future 9-base -> dtq-dev merge
does not delete the workflow.

Cherry-picked with no conflict; the blob is byte-identical with `origin/dtq-dev`
(e9fcf70).

Co-authored-by: Matus Kasak <matus.kasak@dataquest.sk>
(cherry picked from commit 882904b)

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@milanmajchrak

Copy link
Copy Markdown
Collaborator Author

Local gate outputs (per sync rule 2.5)

Base: origin/dtq-dev-9-base = 233d87fe6f. Head: 225e9948d5 (rebased from 1cda0dcd6c after
the base moved during the session; the workflow blob is unchanged by the rebase).

$ git ls-tree 225e9948d5 .github/workflows/new_issue_label.yml | awk '{print $3}'
e9fcf70ae6c950d03833ce10b818b4bedba4afbd
$ git diff --quiet origin/dtq-dev 225e9948d5 -- .github/workflows/new_issue_label.yml && echo OK
OK
$ python -c "import yaml;print(list(yaml.safe_load(open('.github/workflows/new_issue_label.yml')).keys()))"
['name', True, 'jobs']        # `True` is YAML 1.1's reading of the `on:` key - normal
$ git diff 882904ba35^ 882904ba35 -- .github/workflows/new_issue_label.yml > src.diff
$ git diff origin/dtq-dev-9-base 225e9948d5 -- .github/workflows/new_issue_label.yml > tgt.diff
$ diff src.diff tgt.diff && echo IDENTICAL
IDENTICAL                     # all 18 added lines accounted for
$ git diff origin/dtq-dev-9-base --stat
 .github/workflows/new_issue_label.yml | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

No Java, config or Flyway migration is touched, so no Maven gate applies to this change.

@milanmajchrak
milanmajchrak merged commit 1a8e844 into dtq-dev-9-base Sep 10, 2026
12 checks passed
@milanmajchrak
milanmajchrak deleted the ufal/port-1341-9-base branch September 10, 2026 10:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants