Skip to content

[ci] put primary condition to rector github action run#3439

Closed
TomasVotruba wants to merge 2 commits intomainfrom
tv-conditoin-top
Closed

[ci] put primary condition to rector github action run#3439
TomasVotruba wants to merge 2 commits intomainfrom
tv-conditoin-top

Conversation

@TomasVotruba
Copy link
Copy Markdown
Member

@TomasVotruba TomasVotruba commented Mar 2, 2023

@samsonasik I had this in mind :) suggested by ChatGPT

Could you test it on the use case that was failing?

## here can't be --dry-run, as the change results in error code 1 and stops the job without commiting in the future
- run: bin/rector process ${{ matrix.paths }} --ansi

- run: vendor/bin/ecs check --fix --ansi
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cs fix still needed after apply rector

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is to comply with dependency-less defaults, to make it easier to spread and use our own command to generate it on the fly :)
We'll use the coding standard in standalone run.

@samsonasik
Copy link
Copy Markdown
Member

Also, rector workflow is pending with this

 rector (config utils) Expected — Waiting for status to be reported 

@samsonasik
Copy link
Copy Markdown
Member

I will create separate alternative PR

@TomasVotruba
Copy link
Copy Markdown
Member Author

TomasVotruba commented Mar 2, 2023

Also, rector workflow is pending with this

Hm, that looks like some bug. The condition is possibly using wrong string 🤔

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