Skip to content
This repository was archived by the owner on Sep 1, 2022. It is now read-only.

Commit 1a6e37f

Browse files
committed
starting 11_edit-wrokflow step
1 parent 5b98936 commit 1a6e37f

2 files changed

Lines changed: 17 additions & 0 deletions

File tree

config.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,3 +250,19 @@ steps:
250250
right: External APIs
251251
- type: respond
252252
with: 10_create-js-files.md
253+
254+
- title: Use the joke Action in a workflow
255+
description: Edit the workflow file to now use the newly created joke Action
256+
event: pull_request.synchronize
257+
actions:
258+
- type: gate
259+
left: "%payload.pull_request.title%"
260+
operator: ===
261+
right: External APIs
262+
- type: getPullRequest
263+
pullRequest: External APIs
264+
action_id: apiPr
265+
- type: respond
266+
with: 11_edit-workflow.md
267+
data:
268+
workflowFile: "%payload.repository.html_url%/edit/%actions.apiPr.data.head.ref%/.github/workflows/my-workflow.yml"

responses/11_edit-workflow.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
## Using your new Action

0 commit comments

Comments
 (0)