Skip to content

Commit

Permalink
chore: api formal label (#3994)
Browse files Browse the repository at this point in the history
(cherry picked from commit 307f77e)
  • Loading branch information
karl-cardenas-coding committed Sep 18, 2024
1 parent 4e68e4a commit 7f6337e
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/api_format.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,11 @@ jobs:
name: Format API PR
runs-on: ubuntu-latest
if: |
github.event.pull_request.merged == true
&& contains(github.event.pull_request.labels.*.name, 'api-format')
&& (
(github.event.action == 'labeled' && github.event.label.name == 'api-format')
|| (github.event.action == 'closed')
)
github.event.action == 'labeled'
&& github.event.label.name == 'api-format'
&& github.event.pull_request.draft == false

steps:
- name: Retrieve Credentials
id: import-secrets
Expand Down

0 comments on commit 7f6337e

Please sign in to comment.