Skip to content

Commit

Permalink
fix: Instead just diff with origin/master
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasfarias committed Nov 7, 2023
1 parent 4f00c45 commit 506f5f7
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/actions/run-backend-tests/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,19 +49,13 @@ runs:
python-version: ${{ inputs.python-version }}
token: ${{ inputs.token }}

- uses: actions/checkout@v3
with:
ref: master

- name: Determine if hogql-parser has changed compared to master
shell: bash
id: hogql-parser-diff
run: |
changed=$(git diff --quiet HEAD master -- hogql_parser/ && echo "false" || echo "true")
changed=$(git diff --quiet HEAD origin/master -- hogql_parser/ && echo "false" || echo "true")
echo "changed=$changed" >> $GITHUB_OUTPUT
- uses: actions/checkout@v3

- name: Install SAML (python3-saml) dependencies
shell: bash
run: |
Expand Down

0 comments on commit 506f5f7

Please sign in to comment.