-
Notifications
You must be signed in to change notification settings - Fork 119
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into pdo-lx-23-refresh-after-state-update
- Loading branch information
Showing
55 changed files
with
301 additions
and
120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: Pull request ~ Prerelease | ||
on: | ||
pull_request: | ||
types: [closed] | ||
branches: | ||
- master | ||
- release | ||
|
||
jobs: | ||
publish-pre-release: | ||
name: Publish pre-release | ||
if: > | ||
github.event.pull_request.merged == true && | ||
any(github.event.pull_request.labels.*.name, '==', 'publish pre-release') | ||
uses: ./.github/workflows/rw-publish-prerelase.yml | ||
with: | ||
source-branch: ${{ github.event.pull_request.base.ref }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
# (C) 2024 GoodData Corporation | ||
|
||
name: rw ~ Release ~ Publish prerelease | ||
on: | ||
workflow_call: | ||
inputs: | ||
source-branch: | ||
required: true | ||
description: "The name of the source branch" | ||
type: string | ||
|
||
# limit concurrency to one run per branch at a time | ||
# so that we can run this from master and a release branch at the same time | ||
# When a concurrent job or workflow is queued, | ||
# if another job or workflow using the same concurrency group in the repository is in progress, | ||
# the queued job or workflow will be pending. Any previously pending job or workflow in the concurrency group will be canceled. | ||
concurrency: | ||
group: prerelease-${{ github.event.inputs.source-branch }} | ||
cancel-in-progress: false | ||
|
||
jobs: | ||
setup-params: | ||
runs-on: [infra-small] | ||
outputs: | ||
prerelease-id: ${{ steps.validate-params.outputs.prerelease-id }} | ||
|
||
steps: | ||
- name: validate params | ||
id: validate-params | ||
run: | | ||
if [ "${{ inputs.source-branch }}" = "master" ]; then | ||
echo "prerelease-id=alpha" >> $GITHUB_OUTPUT | ||
elif [ "${{ inputs.source-branch }}" = "release" ]; then | ||
echo "prerelease-id=beta" >> $GITHUB_OUTPUT | ||
else | ||
echo "Invalid branch provided. Please provide either 'master' or 'release'." | ||
exit 1 | ||
fi | ||
bump-version: | ||
needs: [setup-params] | ||
uses: ./.github/workflows/rw-bump-version.yml | ||
permissions: | ||
contents: write | ||
id-token: write | ||
secrets: inherit | ||
with: | ||
source-branch: ${{ github.event.inputs.source-branch }} | ||
bump: "prerelease" | ||
prerelease-id: ${{ needs.setup-params.outputs.prerelease-id }} | ||
|
||
publish-prerelease: | ||
needs: [bump-version] | ||
uses: ./.github/workflows/rw-publish-version.yml | ||
permissions: | ||
contents: read | ||
id-token: write | ||
secrets: inherit | ||
with: | ||
source-branch: ${{ github.event.inputs.source-branch }} | ||
release-tag: "prerelease" | ||
|
||
slack-notification: | ||
runs-on: [infra1-small] | ||
needs: [bump-version, publish-prerelease] | ||
steps: | ||
- name: Notify to slack | ||
uses: slackapi/[email protected] | ||
with: | ||
channel-id: "#javascript-notifications" | ||
slack-message: "SDK-UI versions *${{ env.RELEASE_VERSION }}* has been successfully published to NPM." | ||
env: | ||
RELEASE_VERSION: ${{ needs.bump-version.outputs.version }} | ||
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
examples/sdk-interactive-examples/examples-template/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
examples/sdk-interactive-examples/examples/example-attributefilter/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
examples/sdk-interactive-examples/examples/example-chartconfig/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
examples/sdk-interactive-examples/examples/example-columnchart/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
examples/sdk-interactive-examples/examples/example-combochart/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
examples/sdk-interactive-examples/examples/example-dashboard/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
examples/sdk-interactive-examples/examples/example-datefilter/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
examples/sdk-interactive-examples/examples/example-dependentfilters/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
examples/sdk-interactive-examples/examples/example-execute/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
examples/sdk-interactive-examples/examples/example-granularity/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
examples/sdk-interactive-examples/examples/example-headline/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
examples/sdk-interactive-examples/examples/example-pivottable/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
examples/sdk-interactive-examples/examples/example-relativedatefilter/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.