Skip to content

Commit

Permalink
removed check for github.event_name before starting each step, this w…
Browse files Browse the repository at this point in the history
…orkflow is called only when the triegger is a PR (#622)
  • Loading branch information
maxb-io authored and udi-speedb committed Dec 5, 2023
1 parent 3f87e1a commit 922aee1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/check_license_and_history.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ on: # this workflow is planned to be called by the ci_pipeline and it will comp

jobs:
changedfiles:
if: github.event_name == 'pull_request'
runs-on: ubuntu-latest
outputs:
output1: ${{ steps.changes.outputs.diff_list }}
Expand All @@ -29,7 +28,6 @@ jobs:
run: |
echo "New files in this PR ${{ steps.changes.outputs.diff_list }}"
lint:
if: github.event_name == 'pull_request'
runs-on: ubuntu-latest
needs: changedfiles
env:
Expand Down

0 comments on commit 922aee1

Please sign in to comment.