dblock / dblock/code.dblock.org

Adapting your github matrix strategy for screenplay writing

Open
#115 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

question
Dominant language
JavaScript
Stars
7
Forks
30
PR merge metrics
No merged PRs in 30d

Description

I found your explanation for using a matrix on a github action to scan directories and I was trying to adapt it for this purpose:

Versioning Scripts using Fountain and GitHub

As you can see, he stops just short of your fix and suggests adding each new file manually.

I have been trying to apply your solve but I keep missing something and generating errors. I would truly appreciate your help, if you have the time.

Admittedly, this is quite a bit simpler than your issue. I just need the names of the files ending in .fountain, strip the .fountain from the name, put the names into the matrix, then adapt the run line so ${{ matrix }}.fountain and ${{ matrix }}.pdf point to the right things.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked Versioning Scripts using Fountain and GitHub article, then inspect the repository's existing GitHub Actions workflow for its matrix and run steps. The requested result is a matrix built from .fountain filenames with the extension removed, and commands that resolve the corresponding .fountain and .pdf paths.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions
Domain
ci-cd
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.