Skip to content

Commit

Permalink
Merge pull request #649 from tj-actions/chore/update-test
Browse files Browse the repository at this point in the history
chore: updated test
  • Loading branch information
repo-ranger[bot] committed Sep 25, 2022
2 parents 9d736a1 + f60f9d4 commit 5184a75
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Expand Up @@ -817,19 +817,19 @@ jobs:
if: github.event_name == 'pull_request'
- uses: nrwl/last-successful-commit-action@v1
id: last_successful_commit
if: github.event_name == 'pull_request'
if: github.event_name == 'pull_request' && github.event.action != 'closed'
with:
branch: ${{ steps.branch-name.outputs.base_ref_branch }}
workflow_id: 'test.yml'
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Run changed-files with a custom base sha
if: github.event_name == 'pull_request'
if: github.event_name == 'pull_request' && github.event.action != 'closed'
id: changed-files-custom-base-sha
uses: ./
with:
base_sha: ${{ steps.last_successful_commit.outputs.commit_hash }}
- name: Show output
if: github.event_name == 'pull_request'
if: github.event_name == 'pull_request' && github.event.action != 'closed'
run: |
echo '${{ toJSON(steps.changed-files-custom-base-sha.outputs) }}'
shell:
Expand Down

0 comments on commit 5184a75

Please sign in to comment.