Skip to content

Commit

Permalink
Add needs: get_current_step
Browse files Browse the repository at this point in the history
  • Loading branch information
heiskr committed Feb 15, 2023
1 parent dc34a38 commit 77ac8e3
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/0-start.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ permissions:
jobs:
on_start:
name: On start
needs: get_current_step

# We will only run this action when:
# 1. This repository isn't the template repository
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/1-create-a-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ permissions:
jobs:
on_create_workflow:
name: On create workflow
needs: get_current_step

# We will only run this action when:
# 1. This repository isn't the template repository
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/2-add-a-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ permissions:
jobs:
on_add_job:
name: On add job
needs: get_current_step

# We will only run this action when:
# 1. This repository isn't the template repository
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/3-add-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ permissions:
jobs:
on_add_actions:
name: On add actions
needs: get_current_step

# We will only run this action when:
# 1. This repository isn't the template repository
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/4-merge-your-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ permissions:
jobs:
on_merge:
name: On merge
needs: get_current_step

# We will only run this action when:
# 1. This repository isn't the template repository
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/5-trigger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ permissions:
jobs:
on_trigger:
name: On trigger
needs: get_current_step

# We will only run this action when:
# 1. This repository isn't the template repository
Expand Down

0 comments on commit 77ac8e3

Please sign in to comment.