Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(ci): actions/labeler fails after update to v5.x #31

Closed
4 tasks done
vasilsatanasov opened this issue Dec 15, 2023 · 1 comment · Fixed by #32
Closed
4 tasks done

chore(ci): actions/labeler fails after update to v5.x #31

vasilsatanasov opened this issue Dec 15, 2023 · 1 comment · Fixed by #32
Assignees
Labels
bug Bug

Comments

@vasilsatanasov
Copy link
Contributor

vasilsatanasov commented Dec 15, 2023

Code of Conduct

  • I have read and agree to the Code of Conduct.
  • Vote on this issue by adding a 👍 reaction to the original issue initial description to help the maintainers prioritize.
  • Do not leave "+1" or other comments that do not add relevant information or questions.
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.

VMware Cloud Foundation

any version

SDK Version

v0.2.2

Environment Details

No response

Description

After the upgrade to v5.0.0 actions/labeler started to fail due to change in configuration requirements

Error or Debug Output

s
##[debug]Evaluating condition for step: 'Apply Labels'
##[debug]Evaluating: (success() && (github.event.action == 'opened'))
##[debug]Evaluating And:
##[debug]..Evaluating success:
##[debug]..=> true
##[debug]..Evaluating Equal:
##[debug]....Evaluating Index:
##[debug]......Evaluating Index:
##[debug]........Evaluating github:
##[debug]........=> Object
##[debug]........Evaluating String:
##[debug]........=> 'event'
##[debug]......=> Object
##[debug]......Evaluating String:
##[debug]......=> 'action'
##[debug]....=> 'opened'
##[debug]....Evaluating String:
##[debug]....=> 'opened'
##[debug]..=> true
##[debug]=> true
##[debug]Expanded: (true && ('opened' == 'opened'))
##[debug]Result: true
##[debug]Starting: Apply Labels
##[debug]Loading inputs
##[debug]Evaluating: secrets.GITHUB_TOKEN
##[debug]Evaluating Index:
##[debug]..Evaluating secrets:
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'GITHUB_TOKEN'
##[debug]=> '***'
##[debug]Result: '***'
##[debug]Loading env
Run actions/labeler@8558fd7429[1](https://github.com/vmware/vcf-sdk-go/actions/runs/7198651264/job/19608594849?pr=30#step:2:1)d67161a8a78ce36a881fa63b766a9
##[debug]looking for pr #[2](https://github.com/vmware/vcf-sdk-go/actions/runs/7198651264/job/19608594849?pr=30#step:2:2)[9](https://github.com/vmware/vcf-sdk-go/actions/runs/7198651264/job/19608594849?pr=30#step:2:9)
##[debug]fetching changed files for pr #[29](https://github.com/vmware/vcf-sdk-go/actions/runs/7198651264/job/19608594849?pr=30#step:2:29)
##[debug]found changed files:
##[debug]  CHANGELOG.md
The configuration file (path: .github/labeler-pull-requests.yml) was not found locally, fetching via the api
Error: Error: found unexpected type for label 'chore' (should be array of config options)
Error: found unexpected type for label 'chore' (should be array of config options)
##[debug]Node Action run completed with exit code 1
##[debug]Finishing: Apply Labels

Expected Behavior

Sucessful run of label-needs-review job

Actual Behavior

label-needs-review job fails.

Steps to Reproduce

Create a PR and observe the failure of actions/labeler see https://github.com/vmware/vcf-sdk-go/actions/runs/7166865826/job/19598876000.

Log Fragments and Files

No response

Screenshots

No response

References

No response

@vasilsatanasov vasilsatanasov added the bug Bug label Dec 15, 2023
@vasilsatanasov vasilsatanasov self-assigned this Dec 15, 2023
@github-actions github-actions bot added the pending-review Pending Review label Dec 15, 2023
vasilsatanasov added a commit to vasilsatanasov/vcf-sdk-go that referenced this issue Dec 15, 2023
Fixes vmware#31

Reformatted the contents of labeler-pull-requests.yaml according to
actions/labeler v5.0.0 requirements

Signed-off-by: Vasil Atanasov <vasila@vmware.com>
vasilsatanasov added a commit to vasilsatanasov/vcf-sdk-go that referenced this issue Dec 15, 2023
Fixes vmware#31

Reformatted the contents of labeler-pull-requests.yaml according to
actions/labeler v5.0.0 requirements

Signed-off-by: Vasil Atanasov <vasila@vmware.com>
@tenthirtyam tenthirtyam changed the title [chore]actions/labeler fails after update to v5 chore(ci): actions/labeler fails after update to v5.x Dec 15, 2023
@tenthirtyam tenthirtyam removed the pending-review Pending Review label Dec 15, 2023
@tenthirtyam tenthirtyam added this to the Backlog milestone Dec 15, 2023
tenthirtyam pushed a commit to vasilsatanasov/vcf-sdk-go that referenced this issue Dec 15, 2023
Reformatted the contents of `labeler-pull-requests.yaml` according to
`actions/labeler` v5.0.0 requirements.

Ref: vmware#31

Signed-off-by: Vasil Atanasov <vasila@vmware.com>
tenthirtyam pushed a commit that referenced this issue Dec 15, 2023
Reformatted the contents of `labeler-pull-requests.yaml` according to `actions/labeler` v5.0.0 requirements.

Ref: #31

Signed-off-by: Vasil Atanasov <vasila@vmware.com>
Copy link

I'm going to lock this issue because it has been closed for 30 days. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 15, 2024
@tenthirtyam tenthirtyam removed this from the Backlog milestone Oct 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants