Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: changed urls to the new mono repo #22

Merged
merged 6 commits into from
May 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
strategy:
fail-fast: false
matrix:
language: ["javascript", "typescript"]
language: ["typescript"]
# CodeQL supports [ $supported-codeql-languages ]
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support

Expand Down
57 changes: 54 additions & 3 deletions .github/workflows/semantic-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,57 @@ permissions:

jobs:
semantic-pull-request:
uses: "anolilab/workflows/.github/workflows/semantic-pull-request.yml@main"
with:
target-repo: "anolilab/semantic-release"
permissions:
pull-requests: "write" # to analyze PRs (amannn/action-semantic-pull-request)
statuses: "write" # to mark status of analyzed PR (amannn/action-semantic-pull-request)
runs-on: "ubuntu-latest"
name: "Semantic Pull Request"
steps:
- name: "Harden Runner"
uses: "step-security/harden-runner@a4aa98b93cab29d9b1101a6143fb8bce00e2eac4" # v2.7.1
with:
egress-policy: "audit"

- name: "Validate PR title"
id: "lint_pr_title"
uses: "amannn/action-semantic-pull-request@cfb60706e18bc85e8aec535e3c577abe8f70378e" # v5.5.2
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
with:
types: |
build
chore
ci
docs
feat
fix
perf
infra
refactor
revert
test

- uses: "marocchino/sticky-pull-request-comment@331f8f5b4215f0445d3c07b4967662a32a2d3e31" # v2.9.0
# When the previous steps fail, the workflow would stop. By adding this
# condition you can continue the execution with the populated error message.
if: "always() && (steps.lint_pr_title.outputs.error_message != null)"
with:
header: "pr-title-lint-error"
message: |
Hey there and thank you for opening this pull request! 👋🏼

We require pull request titles to follow the [Conventional Commits specification](https://www.conventionalcommits.org/en/v1.0.0/) and it looks like your proposed title needs to be adjusted.

Details:

```
${{ steps.lint_pr_title.outputs.error_message }}
```

# Delete a previous comment when the issue has been resolved
- if: "${{ steps.lint_pr_title.outputs.error_message == null }}"
uses: "marocchino/sticky-pull-request-comment@331f8f5b4215f0445d3c07b4967662a32a2d3e31" # v2.9.0
with:
header: "pr-title-lint-error"
message: |
Thank you for following the naming conventions! 🙏
8 changes: 4 additions & 4 deletions packages/multi-semantic-release/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div align="center">

<img src=".github/logo.svg" alt="Logo" width="200">
<img src="https://github.com/anolilab/semantic-release/blob/main/.github/logo.svg" alt="Logo" width="200">

<h1>Multi Semantic Release</h1>

Expand Down Expand Up @@ -249,7 +249,7 @@ You can also combine the CLI ignore options with the `!` operator at each packag

We use this tool to release our JS platform code inhouse (GitHub Enterprise + JB TeamCity) and for our OSS (GitHub + Travis CI). Guaranteed working configurations available in projects.

- [anolilab/multi-semantic-release](https://github.com/anolilab/multi-semantic-release)
- [anolilab/multi-semantic-release](https://github.com/anolilab/semantic-release)
- [visulima/visulima](https://github.com/visulima/visulima)
- [qiwi/substrate](https://github.com/qiwi/substrate)
- [qiwi/json-rpc](https://github.com/qiwi/json-rpc)
Expand Down Expand Up @@ -389,14 +389,14 @@ post on why we think this is important](https://medium.com/the-node-js-collectio

## Contributing

If you would like to help take a look at the [list of issues](https://github.com/anolilab/multi-semantic-release/issues) and check our [Contributing](.github/CONTRIBUTING.md) guild.
If you would like to help take a look at the [list of issues](https://github.com/anolilab/semantic-release/issues) and check our [Contributing](.github/CONTRIBUTING.md) guild.

> **Note:** please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

## Credits

- [Daniel Bannert](https://github.com/prisis)
- [All Contributors](https://github.com/anolilab/multi-semantic-release/graphs/contributors)
- [All Contributors](https://github.com/anolilab/semantic-release/graphs/contributors)
- [hanseltime](https://github.com/hanseltime) -> https://github.com/qiwi/multi-semantic-release/pull/96
- [lyh543](https://github.com/lyh543) -> https://github.com/dhoulb/multi-semantic-release/issues/111
- [dhoub/multi-semantic-release](https://github.com/dhoulb/multi-semantic-release)
Expand Down
3 changes: 2 additions & 1 deletion packages/multi-semantic-release/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"description": "A multi semantic release tool for a monorepo.",
"repository": {
"type": "git",
"url": "https://github.com/anolilab/multi-semantic-release.git"
"url": "https://github.com/anolilab/semantic-release.git",
"directory": "packages/multi-semantic-release"
},
"license": "0BSD",
"author": "Dave Houlbrooke <dave@shax.com>",
Expand Down
Loading