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

Copy GitHub Actions syntax for path templates #34

Open
themightychris opened this issue Sep 22, 2019 · 0 comments
Open

Copy GitHub Actions syntax for path templates #34

themightychris opened this issue Sep 22, 2019 · 0 comments

Comments

@themightychris
Copy link
Member

Either using some npm module or our own code, let's switch now to hewing closely to (but not worrying about compatibility with) the syntax GitHub Actions uses: https://help.github.com/en/articles/contexts-and-expression-syntax-for-github-actions#about-context-and-expressions

e.g.

[gitsheet]
root = "slate/students"
path = "${{ graduation_year }}/${{ status }}/${{ student_number }}"

We're pretty close already anyway, and I think we're going to have a need eventually to support some basic functions like Actions does that I was trying to figure out a syntax for (e.g. to use a prefix of or split a field value into multiple path components to keep tree sizes down), so we might as well piggy-back on GitHub

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

No branches or pull requests

1 participant