Skip to content

Commit

Permalink
chore(ci-wait-for-all): Set head and base sha for PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
erezrokah committed Oct 20, 2022
1 parent 44e99a6 commit 56e7018
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/wait_for_required_workflows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,13 @@ jobs:
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
fetch-depth: 2
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v32
with:
base_sha: ${{ github.event.pull_request.base.sha }}
sha: ${{ github.event.pull_request.head.sha }}
- uses: actions/github-script@v6
env:
FILES: ${{ steps.changed-files.outputs.all_changed_files }}
Expand Down

0 comments on commit 56e7018

Please sign in to comment.