Skip to content

Commit

Permalink
Fix pushing logs to main branch of synlig-logs repo (#2628)
Browse files Browse the repository at this point in the history
This PR fixes pushing tests logs after merge to allow visualize changes
in AST in PRs.
  • Loading branch information
kamilrakoczy authored Oct 29, 2024
2 parents 22f52ae + 8968cfd commit cf328e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/parsing-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ jobs:
name: Generate AST diff
runs-on: [self-hosted, Linux, X64, gcp-custom-runners]
container: ubuntu:jammy
if: github.event.pull_request.head.repo.full_name == github.repository || github.event.push
if: (github.event.pull_request.head.repo.full_name == github.repository) || (github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master'))
needs:
- parsing-tests
steps:
Expand Down

0 comments on commit cf328e7

Please sign in to comment.