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

Sort action sequence #11

Open
bmuenzenmeyer opened this issue Aug 6, 2021 · 0 comments
Open

Sort action sequence #11

bmuenzenmeyer opened this issue Aug 6, 2021 · 0 comments

Comments

@bmuenzenmeyer
Copy link
Contributor

I'm writing an action that reads a markdown file into another markdown file. However, that markdown file performs its own actions. This could lead to a situation like this:

  1. File A imports File B
  2. File B runs commands and is updated

Now File A is out of date.

Couple options here:

  • Run all command actions before any file actions execute
    • This doesn't work extremely well if File C has command actions that are imported as file into File B which is imported as file into File A
  • Run the entire process multiple times until there are no changes
  • Both of the above
    • 🤷
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant