Skip to content

Commit

Permalink
switch back to requiring a separate checkout step
Browse files Browse the repository at this point in the history
  • Loading branch information
keewis committed Jan 24, 2021
1 parent a676955 commit f97facc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ To use the detect-ci-trigger action in workflows, add a new job:
outputs:
triggered: ${{ steps.detect-trigger.outputs.trigger-found }}
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 2
- uses: keewis/ci-trigger@v1
id: detect-trigger
with:
Expand Down
7 changes: 0 additions & 7 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,6 @@ outputs:
runs:
using: "composite"
steps:
- name: checkout the repository
run: |
echo "repo: $GITHUB_REPOSITORY"
echo "workspace: $GITHUB_WORKSPACE"
echo "current directory: $PWD"
ls -lA $GITHUB_WORKSPACE
shell: bash
- name: detect trigger
id: detect-trigger
run: |
Expand Down

0 comments on commit f97facc

Please sign in to comment.