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

Migrate docker workspace tags to configfiles #135993

Merged
merged 1 commit into from Oct 28, 2021
Merged

Conversation

digitarald
Copy link
Contributor

Makes more sense and I wasn't aware when I added the new tags.

@digitarald digitarald added the polish Cleanup and polish issue label Oct 27, 2021
@digitarald digitarald self-assigned this Oct 27, 2021
Copy link
Member

@lramos15 lramos15 left a comment

Choose a reason for hiding this comment

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

This fails to recognize Dockerfile which is how I make all my docker files :)

{ tag: 'github-actions', filePattern: /^.+\.yml$/i, relativePathPattern: /^\.github(?:\/|\\)workflows$/i }
{ tag: 'github-actions', filePattern: /^.+\.yml$/i, relativePathPattern: /^\.github(?:\/|\\)workflows$/i },
{ tag: 'devcontainer.json', filePattern: /^devcontainer\.json$/i },
{ tag: 'dockerfile', filePattern: /^(dockerfile|docker\-compose\.ya?ml)$/i }
Copy link
Member

Choose a reason for hiding this comment

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

Dockerfiles are often uppercase which this doesn't work on. It doesn't look like they make the paths or file names lowercase before testing. Maybe we should just so we're casing agnostic

Copy link
Contributor Author

Choose a reason for hiding this comment

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

But the /i makes the expression match case-insensitive.

Copy link
Member

Choose a reason for hiding this comment

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

🤦

@lramos15 lramos15 merged commit 9fa1d5b into main Oct 28, 2021
@lramos15 lramos15 deleted the digitarald/ws-tag-to-config branch October 28, 2021 17:34
@github-actions github-actions bot locked and limited conversation to collaborators Dec 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
polish Cleanup and polish issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants