Skip to content

Commit

Permalink
link works only if line 1 in the file was actully changed
Browse files Browse the repository at this point in the history
  • Loading branch information
Reuven committed Jul 4, 2024
1 parent 5976fe6 commit f394bb7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/bc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ jobs:
run: echo "PREV_FILE=$(echo https://raw.githubusercontent.com/reuvenharrison/oas/${{ env.PREV_COMMIT }}/simple.yaml)" >> $GITHUB_ENV

- name: Run diff
run: docker run --rm -t -v $(pwd)/:/data:ro -w /data tufin/oasdiff changelog ${{ env.PREV_FILE }} ./simple.yaml -f githubactions
run: docker run --rm -t -v $(pwd)/:/data:ro -w /data tufin/oasdiff changelog ${{ env.PREV_FILE }} simple.yaml -f githubactions

4 changes: 2 additions & 2 deletions simple.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
openapi: 3.0.1
info :
openapi: 3.0.1
info:

Check warning on line 2 in simple.yaml

View workflow job for this annotation

GitHub Actions / oasdiff

Missing semicolon
title: Test API
version: v1
paths:
Expand Down

0 comments on commit f394bb7

Please sign in to comment.