Skip to content

Commit

Permalink
fix: prevent version-packages workflow from self-triggering (#47) (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
junjie-w authored Dec 26, 2024
1 parent b07a3eb commit 76a579e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-sdk.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: Publish API Client SDK Package
name: 📦 Publish API Client SDK Package

on:
workflow_dispatch:
inputs:
api-name:
type: choice
description: Select an API to generate and publish client SDK package
description: 📦 Select an API to generate and publish client SDK package
options:
- products-api
- users-api
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/push-spec.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: Push API Spec to SwaggerHub
name: 📄 Push API Spec to SwaggerHub

on:
workflow_dispatch:
inputs:
api-name:
type: choice
description: Select an API to push spec to SwaggerHub
description: 📄 Select an API to push spec to SwaggerHub
options:
- products-api
- users-api
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/version-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ concurrency: ${{ github.workflow }}-${{ github.ref }}

jobs:
version-packages:
if: "github.event.head_commit.author.name != 'github-actions[bot]'"
name: Create Version PR
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 76a579e

Please sign in to comment.