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

Feature: Add action output to indicate if something happened #247

Closed
1 of 2 tasks
koppor opened this issue Oct 16, 2024 · 2 comments · Fixed by #245
Closed
1 of 2 tasks

Feature: Add action output to indicate if something happened #247

koppor opened this issue Oct 16, 2024 · 2 comments · Fixed by #245

Comments

@koppor
Copy link
Contributor

koppor commented Oct 16, 2024

Type of feature

💡 Feature

Current behavior

We have workflows running reacting on set labels.

If a GitHub action assigns a label, no workflow is run

image

Suggested solution

Thus, I need a way to run another step if someone was assigned.

Draft: I would like to have if steps.assign.outputs.assigned == "yes" as condition for my next step. I would just use the same steps as when the label was manually assigned

https://github.com/JabRef/jabref/blob/25635de59496e2765ccfab19c07e91b6c48067a4/.github/workflows/on-labeled-issue.yml#L49

(This wish is similar to bdougie/take-action#27 for the take-action).

Additional context

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Contributing Docs

  • I agree to follow this project's Contribution Docs
@takanome-dev
Copy link
Owner

@koppor is this what you want?

SCR-20241017-ouzp SCR-20241017-ovey

takanome-dev/test-gh-actions#22

@koppor
Copy link
Contributor Author

koppor commented Oct 17, 2024

@takanome-dev Yes 🤩🤩 👍

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 a pull request may close this issue.

2 participants