Skip to content

Commit

Permalink
fix issues running connector dependency report on PRs from forks (air…
Browse files Browse the repository at this point in the history
…bytehq#18269)

* fix issues running connector dependency report on PRs from forks

* dont need to prevent running on forks

* fix typo

* fix typo
  • Loading branch information
pedroslopez authored and jhammarstedt committed Oct 31, 2022
1 parent 8d5cb99 commit 257ed23
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/report-connectors-dependency.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,9 @@ jobs:
with:
fetch-depth: 0 # OR "2" -> To retrieve the preceding commit.

- name: Extract current branch name
shell: bash
run: echo "##[set-output name=branch;]$(echo ${{ github.head_ref }})"
id: extract_branch
- name: Extract git-dif change file
- name: Extract git-diff changed files
run: |
git diff --name-only remotes/origin/master...origin/${{ steps.extract_branch.outputs.branch }} -- airbyte-integrations/ > ./changed_files.txt
git diff --name-only remotes/origin/master...HEAD -- airbyte-integrations/ > ./changed_files.txt
id: extract_changed_files
- name: Install dependencies
run: |
Expand Down

0 comments on commit 257ed23

Please sign in to comment.