Skip to content

Update automation for new GH project boards #370

@j-wags

Description

@j-wags

Something about lifecycle management actions is currently failing with the following error. I'm able to reproduce locally.

Run python ./management/lifecycle.py --states "Error Cycling" --set-priority --set-computetag
  python ./management/lifecycle.py --states "Error Cycling" --set-priority --set-computetag
  shell: /usr/bin/bash -l {0}
  env:
    MAMBA_ROOT_PREFIX: /home/runner/micromamba
    MAMBA_EXE: /home/runner/micromamba-bin/micromamba
    CONDARC: /home/runner/work/_temp/setup-micromamba/.condarc
    GH_TOKEN: ***
    QCA_USER: ***
    QCA_KEY: ***
Traceback (most recent call last):
Found 11 with the 'tracking' label
  File "/home/runner/work/qca-dataset-submission/qca-dataset-submission/./management/lifecycle.py", line 987, in <module>
    main()
  File "/home/runner/work/qca-dataset-submission/qca-dataset-submission/./management/lifecycle.py", line 931, in main
    board = _get_full_board(repo)
            ^^^^^^^^^^^^^^^^^^^^^
  File "/home/runner/work/qca-dataset-submission/qca-dataset-submission/./management/lifecycle.py", line 813, in _get_full_board
    proj = [proj for proj in repo.get_projects() if proj.name == "Dataset Tracking"][0]
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^
IndexError: list index out of range
Error: Process completed with exit code 1.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions