Skip to content

Commit f97facc

Browse files
committed
switch back to requiring a separate checkout step
1 parent a676955 commit f97facc

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ To use the detect-ci-trigger action in workflows, add a new job:
1212
outputs:
1313
triggered: ${{ steps.detect-trigger.outputs.trigger-found }}
1414
steps:
15+
- uses: actions/checkout@v2
16+
with:
17+
fetch-depth: 2
1518
- uses: keewis/ci-trigger@v1
1619
id: detect-trigger
1720
with:

action.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,6 @@ outputs:
1414
runs:
1515
using: "composite"
1616
steps:
17-
- name: checkout the repository
18-
run: |
19-
echo "repo: $GITHUB_REPOSITORY"
20-
echo "workspace: $GITHUB_WORKSPACE"
21-
echo "current directory: $PWD"
22-
ls -lA $GITHUB_WORKSPACE
23-
shell: bash
2417
- name: detect trigger
2518
id: detect-trigger
2619
run: |

0 commit comments

Comments
 (0)