Skip to content

Commit

Permalink
Add conditional judgment in scala-style-check and python-style-check (#…
Browse files Browse the repository at this point in the history
…5721)

* add create-job-status-badge action

* add selfHostedRunner input

* add create badge job

* change isSelfHostedRunner to is-self-hosted-runner

* update create-job-status-badge

* adjust indent

* update python-style-check and scala-style-check

* Update scala-style-check.yml

* Update python-style-check.yml
  • Loading branch information
Zephyr596 authored Sep 13, 2022
1 parent 979260b commit e597d69
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/python-style-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ jobs:
run: bash python/serving/dev/lint-python

create-workflow-badge:
if: github.event.pull_request == ''
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -101,4 +102,4 @@ jobs:
secret: ${{ secrets.GIST_SECRET }}
gist-id: 515298657716ead4615f539244730bf0
file-name: python-style-check.json
type: workflow
type: workflow
1 change: 1 addition & 0 deletions .github/workflows/scala-style-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ jobs:
create-workflow-badge:
if: github.event.pull_request == ''
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down

0 comments on commit e597d69

Please sign in to comment.