-
-
Notifications
You must be signed in to change notification settings - Fork 730
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: 5.12 remove 404 feature view (#7246)
- Loading branch information
Showing
11 changed files
with
94 additions
and
65 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
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,21 @@ | ||
name: Dependency review | ||
|
||
on: | ||
pull_request: | ||
|
||
permissions: | ||
contents: read | ||
pull-requests: write | ||
|
||
jobs: | ||
license_review: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
- name: Dependency review | ||
uses: actions/dependency-review-action@v4 | ||
with: | ||
fail-on-severity: moderate | ||
allow-licenses: Apache-2.0, MIT, BSD-2-Clause, BSD-3-Clause, ISC, CC0-1.0, Unlicense | ||
comment-summary-in-pr: always |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -54,14 +54,18 @@ jobs: | |
echo PREV=$(git describe --tags ${PREV_COMMIT}) >> $GITHUB_ENV | ||
- if: ${{ !endsWith(github.event.inputs.version, '0') }} | ||
run: echo PREV=$(git describe --abbrev=0) >> $GITHUB_ENV | ||
- name: Generate changelog if not pre-release | ||
- name: Generate changelog from ${{ env.PREV }} | ||
continue-on-error: true | ||
if: ${{ !contains(github.event.inputs.version, '-') }} | ||
env: | ||
PREV: ${{ env.PREV }} | ||
run: | | ||
git-cliff ${PREV}..HEAD --tag v${{ github.event.inputs.version }} --prepend CHANGELOG.md | ||
git-cliff ${{ env.PREV }}..HEAD --tag v${{ github.event.inputs.version }} --prepend CHANGELOG.md | ||
if [ -n "$(git status --porcelain)" ]; then | ||
git commit -am "docs: Update CHANGELOG.md" | ||
else | ||
echo "No changes to CHANGELOG.md" | ||
fi | ||
- run: yarn install --frozen-lockfile --ignore-scripts | ||
- name: npm version | ||
run: | | ||
|
@@ -106,19 +110,27 @@ jobs: | |
git commit -m "chore: bump version to ${{ github.event.inputs.version }}+main" | ||
git push origin main | ||
update-version-checker: | ||
publish-docker: | ||
needs: build | ||
uses: ./.github/workflows/docker_publish.yaml | ||
with: | ||
version: ${{ github.event.inputs.version }} | ||
|
||
publish-npm: | ||
needs: build | ||
uses: ./.github/workflows/release.yaml | ||
with: | ||
version: ${{ github.event.inputs.version }} | ||
|
||
release-changelog: # TODO this changelog is different than the git-cliff one above | ||
needs: build | ||
uses: ./.github/workflows/release_changelog.yml | ||
with: | ||
version: ${{ github.event.inputs.version }} | ||
|
||
update-version-checker: | ||
needs: publish-docker | ||
if: ${{ github.event.inputs.update-version-function == 'true' }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Authenticate Google IAM | ||
uses: 'google-github-actions/auth@v2' | ||
with: | ||
workload_identity_provider: 'projects/340004706233/locations/global/workloadIdentityPools/gh-actions-pool/providers/github-actions-oidc-unleash' | ||
service_account: '[email protected]' | ||
token_format: 'access_token' | ||
- name: Update version checker | ||
uses: 'Unleash/update-version-action@v0' | ||
with: | ||
version: ${{ github.event.inputs.version }} | ||
distribution: 'oss' | ||
uses: ./.github/workflows/update_version_for_version_checker.yml | ||
with: | ||
version: ${{ github.event.inputs.version }} |
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 |
---|---|---|
@@ -1,12 +1,14 @@ | ||
name: 'Releases' | ||
name: 'Release changelog' | ||
on: | ||
push: | ||
tags: | ||
- 'v*' | ||
workflow_call: | ||
inputs: | ||
version: | ||
description: "Which version number should we use for the release" | ||
type: 'string' | ||
required: true | ||
|
||
jobs: | ||
release: | ||
if: startsWith(github.ref, 'refs/tags/') | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
|
@@ -16,12 +18,13 @@ jobs: | |
uses: metcalfc/[email protected] | ||
with: | ||
myToken: ${{ secrets.GITHUB_TOKEN }} | ||
base-ref: v${{ inputs.version }} | ||
- name: Create release | ||
uses: actions/create-release@v1 | ||
uses: softprops/action-gh-release@v2 | ||
with: | ||
tag_name: ${{ github.ref }} | ||
release_name: ${{ github.ref }} | ||
tag_name: v${{ inputs.version }} | ||
name: v${{ inputs.version }} | ||
body: ${{ steps.github_release.outputs.changelog }} | ||
prerelease: ${{ contains(github.ref, 'beta') || contains(github.ref, 'alpha') }} | ||
prerelease: ${{ contains(inputs.version, 'beta') || contains(inputs.version, 'alpha') }} | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_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