Skip to content

Commit

Permalink
Merge pull request #1437 from SciCatProject/master
Browse files Browse the repository at this point in the history
10-14-2024 release
  • Loading branch information
Junjiequan authored Oct 14, 2024
2 parents 4f167f7 + 707e9e8 commit cc267b8
Show file tree
Hide file tree
Showing 101 changed files with 5,194 additions and 3,540 deletions.
19 changes: 0 additions & 19 deletions .github/ISSUE_TEMPLATE/issue-.md

This file was deleted.

5 changes: 5 additions & 0 deletions .github/openapi/python-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"generatorName": "python",
"packageName": "scicat-sdk-py",
"projectName": "scicat-sdk-py"
}
5 changes: 5 additions & 0 deletions .github/openapi/python-pydantic-v1-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"generatorName": "python-pydantic-v1",
"packageName": "scicat-sdk-pydantic",
"projectName": "scicat-sdk-pydantic"
}
6 changes: 6 additions & 0 deletions .github/openapi/typescript-angular-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"generatorName": "typescript-angular",
"npmName": "@scicatproject/scicat-sdk-ts",
"ngVersion": "16.2.12",
"withInterfaces": true
}
15 changes: 15 additions & 0 deletions .github/pr-title-checker-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"LABEL": {
"name": ""
},
"CHECKS": {
"NOTE": "You can test the regex here: https://regex101.com/r/nDeps5/1",
"regexp": "(^(?<type>build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test|BREAKING CHANGE)(?<scope>\\([\\w\\s*-]+\\))?(?<breaking_change>!?): (?<body>([a-z]).+[^.|\\s])$)",
"regexpFlags": "gm"
},
"MESSAGES": {
"success": "All OK",
"failure": "PR title not following the semantic-release guidelines. Please check https://github.com/angular/angular.js/blob/master/DEVELOPERS.md#-git-commit-guidelines for more information.",
"notice": ""
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
## Extract information about the dependencies being updated by a Dependabot-generated PR
- name: Dependabot metadata
id: dependabot-metadata
uses: dependabot/fetch-metadata@v2.1.0
uses: dependabot/fetch-metadata@v2.2.0
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,9 @@ jobs:
type=ref,event=tag
- name: Build and push
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
context: .
platforms: linux/amd64,linux/arm64/v8
push: true
tags: ${{ steps.meta.outputs.tags }}
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
tags: type=sha,format=long,prefix= # adds :<sha> tag to outputs.tags

- name: Build and push
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
context: .
platforms: linux/amd64,linux/arm64/v8
Expand Down
76 changes: 0 additions & 76 deletions .github/workflows/github-tag-and-release.yml

This file was deleted.

22 changes: 22 additions & 0 deletions .github/workflows/pr-title-checker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: PR Title Checker

on:
pull_request:
branches:
- master
types:
- opened
- edited
- synchronize
- labeled
- unlabeled

jobs:
check-pr-title:
runs-on: ubuntu-latest
steps:
- uses: thehanimo/pr-title-checker@v1.4.1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
pass_on_octokit_error: false
configuration_path: .github/pr-title-checker-config.json #(optional. defaults to .github/pr-title-checker-config.json)
Loading

0 comments on commit cc267b8

Please sign in to comment.