Skip to content

Commit

Permalink
ci: add force parameter to sync action
Browse files Browse the repository at this point in the history
  • Loading branch information
TheUnderScorer committed Dec 16, 2024
1 parent 8685193 commit 0bfc89f
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/sync-server-side-sdks-schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ on:
required: false
default: false
type: boolean
force:
description: "Whenever to force update to given tag, even if it was already updated before"
required: false
default: false
type: boolean
sync-node:
description: 'Sync Node SDK'
type: boolean
Expand Down Expand Up @@ -52,6 +57,7 @@ jobs:
repository: fingerprintjs-pro-server-api-node-sdk
pre-release: ${{ inputs.pre-release }}
allowed-scopes: events,visitors,webhook,related-visitors
force: ${{ inputs.force }}
secrets:
APP_PRIVATE_KEY: ${{ secrets.APP_PRIVATE_KEY }}

Expand All @@ -70,6 +76,7 @@ jobs:
repository: fingerprint-pro-server-api-go-sdk
pre-release: ${{ inputs.pre-release }}
allowed-scopes: events,visitors,webhook,related-visitors
force: ${{ inputs.force }}
secrets:
APP_PRIVATE_KEY: ${{ secrets.APP_PRIVATE_KEY }}

Expand All @@ -88,6 +95,7 @@ jobs:
repository: fingerprint-pro-server-api-dotnet-sdk
pre-release: ${{ inputs.pre-release }}
allowed-scopes: events,visitors,webhook,related-visitors
force: ${{ inputs.force }}
secrets:
APP_PRIVATE_KEY: ${{ secrets.APP_PRIVATE_KEY }}

Expand All @@ -107,6 +115,7 @@ jobs:
pre-release: ${{ inputs.pre-release }}
pre-release-tag: rc
allowed-scopes: events,visitors,webhook,related-visitors
force: ${{ inputs.force }}
secrets:
APP_PRIVATE_KEY: ${{ secrets.APP_PRIVATE_KEY }}

Expand All @@ -127,6 +136,7 @@ jobs:
pre-release: ${{ inputs.pre-release }}
pre-release-tag: develop
allowed-scopes: events,visitors,webhook,related-visitors
force: ${{ inputs.force }}
secrets:
APP_PRIVATE_KEY: ${{ secrets.APP_PRIVATE_KEY }}

Expand All @@ -146,5 +156,6 @@ jobs:
pre-release: ${{ inputs.pre-release }}
pre-release-tag: develop
allowed-scopes: events,visitors,webhook,related-visitors
force: ${{ inputs.force }}
secrets:
APP_PRIVATE_KEY: ${{ secrets.APP_PRIVATE_KEY }}

0 comments on commit 0bfc89f

Please sign in to comment.