I’m working through the Write a Learning Lab course and am stuck at step 12–Write the config logic.
I think I have edited the config.yml file correctly–from lines 25-47, I have added the code from steps 10 on:
steps: - title: Assign yourself description: Assign the first issue to yourself. event: issues.assigned link: 'https://github.com/magitz/lab-starter/issues/1' actions: - type: gate left: '%payload.pull_request.title%' operator: === right: Add name to README - type: gate left: '%payload.pull_request.base.ref%' operator: === right: master else: - type: respond with: 01_try-again.md - type: respond with: 01_nice-work.md # Step 1: EDIT HERE - INTERNAL COMMENT DESCRIBING STEP
So, the text indicated in the regex being used to check is there, but check keeps failing saying the file doesn’t have what it is expecting.
In general, it would be great if there were a way to view the learning lab code, both to use as a template for developing our own labs, but also to see what the code for the gate is actually checking for.
Thanks for any help!