Skip to content

Commit cfaddd7

Browse files
committedMay 15, 2024
Add pipe
Signed-off-by: Craig Perkins <cwperx@amazon.com>
1 parent 429dd6d commit cfaddd7

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed
 

‎.github/workflows/example_dependabot.yml

+10-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,15 @@ on: [pull_request, push]
55
jobs:
66
example_job:
77
runs-on: ubuntu-latest
8+
89
steps:
10+
- name: Checkout code
11+
uses: actions/checkout@v2
12+
913
- name: Print GitHub actor
10-
run: echo "GitHub Actor: ${{ github.actor }}"
14+
run: |
15+
echo "GitHub Actor: ${{ github.actor }}"
16+
17+
- name: Conditional Step
18+
if: ${{ github.actor == 'dependabot[bot]' }}
19+
run: echo "This job runs because the actor is dependabot."

0 commit comments

Comments
 (0)