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

feat(init): support pr-action in the template .taskcluster.yml #450

Merged
merged 1 commit into from
Feb 13, 2024

Conversation

jcristau
Copy link
Contributor

@jcristau jcristau commented Feb 8, 2024

No description provided.

@jcristau jcristau marked this pull request as ready for review February 12, 2024 14:10
@jcristau jcristau requested a review from ahal February 13, 2024 14:26
@@ -268,7 +278,7 @@ tasks:

extra:
$merge:
- $if: 'tasks_for == "action"'
- $if: 'tasks_for in ["action", "pr-action"]'
Copy link
Collaborator

Choose a reason for hiding this comment

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

It might be worth creating a new isAction variable for this, but I'm ok with leaving it too.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks for the review.
I did consider a new variable, but there's a few cases where action and pr-action are different, or where they're also the same as cron, so there'd still be a need to distinguish, and leaving it like this might be clearer in the end?

@jcristau jcristau merged commit 54d2dbe into taskcluster:main Feb 13, 2024
10 checks passed
@jcristau jcristau deleted the action-pr-template branch February 13, 2024 14:40
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