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: (IAC-1195) Update Branch Selector for GitHub Workflow #197

Merged
merged 1 commit into from
Nov 7, 2023

Conversation

jarpat
Copy link
Contributor

@jarpat jarpat commented Nov 6, 2023

Changes

Update the branch selector for the GitHub workflow to allow it to additionally run against branches that use the path pattern (e.g. "fix/IAC-111").

Tests

The name of the source branch of this PR uses the path pattern chore/IAC-1195 and the GitHub workflow was automatically run.

@jarpat jarpat added the enhancement New feature or request label Nov 6, 2023
@jarpat jarpat self-assigned this Nov 6, 2023
@jarpat jarpat changed the title chore: (IAC-1195) Update Branch Select for GitHub Workflow chore: (IAC-1195) Update Branch Selector for GitHub Workflow Nov 6, 2023
@@ -1,7 +1,7 @@
name: Linter Analysis
on:
push:
branches: [ '*' ] # '*' will cause the workflow to run on all commits to all branches.
branches: [ '**' ] # '**' will cause the workflow to run on all commits to all branches, including those with path separators
Copy link
Member

Choose a reason for hiding this comment

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

Guessing this is based on the new foo/bar-branch naming convention?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That's correct, changing it to branches: [ '**' ] allows for the workflow to be automatically run again foo/bar-branch naming convention as well those without forward slashes , foo-bar-branch

@jarpat jarpat merged commit 1fc00df into staging Nov 7, 2023
3 checks passed
@jarpat jarpat deleted the chore/IAC-1195 branch November 7, 2023 15:00
@jarpat jarpat mentioned this pull request Nov 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants