Skip to content

Commit

Permalink
fix(ci): release-please again
Browse files Browse the repository at this point in the history
This reverts commit a95bb03.
  • Loading branch information
fiji-flo committed Sep 18, 2024
1 parent a95bb03 commit c843529
Show file tree
Hide file tree
Showing 21 changed files with 65 additions and 42 deletions.
27 changes: 0 additions & 27 deletions .github/workflows/release-plz.yml

This file was deleted.

19 changes: 19 additions & 0 deletions .github/workflows/release_please.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
on:
push:
branches:
- main

permissions:
contents: write
pull-requests: write

name: release-please

jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: googleapis/release-please-action@v4
with:
repo-url: mdn/rari
manifest-file: .release-please-manifest.json
35 changes: 35 additions & 0 deletions .github/workflows/welcome-bot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# This workflow is hosted at: https://github.com/mdn/workflows/blob/main/.github/workflows/allo-allo.yml
# Docs for this workflow: https://github.com/mdn/workflows/blob/main/README.md#allo-allo
name: "AlloAllo"

on:
issues:
types:
- opened
pull_request_target:
branches:
- main
types:
- opened
- closed

jobs:
allo-allo:
uses: mdn/workflows/.github/workflows/allo-allo.yml@main
with:
target-repo: "TODO - add this repo in 'mdn/REPOSITORY_NAME' format"
issue-welcome: >
It looks like this is your first issue. Welcome! 👋
One of the project maintainers will be with you as soon as possible. We
appreciate your patience. To safeguard the health of the project, please
take a moment to read our [code of conduct](../blob/main/CODE_OF_CONDUCT.md).
pr-welcome: >
It looks like this is your first pull request. 🎉
Thank you for your contribution! One of the project maintainers will triage
and assign the pull request for review. We appreciate your patience. To
safeguard the health of the project, please take a moment to read our
[code of conduct](../blob/main/CODE_OF_CONDUCT.md).
pr-merged: >
Congratulations on your first merged pull request. 🎉 Thank you for your contribution!
Did you know we have a [project board](https://github.com/orgs/mdn/projects/25) with high-impact contribution opportunities?
We look forward to your next contribution.
1 change: 1 addition & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ edition = "2021"
license = "MPL-2.0"
authors = ["Florian Dieminger <[email protected]>"]
rust-version = "1.80"
publish = false

[workspace.dependencies]
rari-doc = { path = "crates/rari-doc" }
Expand Down
1 change: 0 additions & 1 deletion crates/css-definition-syntax/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ edition.workspace = true
authors.workspace = true
license.workspace = true
rust-version.workspace = true
publish.workspace = true

[dependencies]
thiserror.workspace = true
1 change: 0 additions & 1 deletion crates/css-syntax-types/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ edition.workspace = true
authors.workspace = true
license.workspace = true
rust-version.workspace = true
publish.workspace = true

[dependencies]
serde_json.workspace = true
Expand Down
1 change: 0 additions & 1 deletion crates/css-syntax/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ edition.workspace = true
authors.workspace = true
license.workspace = true
rust-version.workspace = true
publish.workspace = true

[dependencies]
thiserror.workspace = true
Expand Down
1 change: 0 additions & 1 deletion crates/diff-test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ edition.workspace = true
authors.workspace = true
license.workspace = true
rust-version.workspace = true
publish.workspace = true

[dependencies]
rayon.workspace = true
Expand Down
1 change: 0 additions & 1 deletion crates/rari-data/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ edition.workspace = true
authors.workspace = true
license.workspace = true
rust-version.workspace = true
publish.workspace = true

[dependencies]
rari-utils.workspace = true
Expand Down
1 change: 0 additions & 1 deletion crates/rari-deps/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ edition.workspace = true
authors.workspace = true
license.workspace = true
rust-version.workspace = true
publish.workspace = true

[dependencies]
rari-utils.workspace = true
Expand Down
1 change: 0 additions & 1 deletion crates/rari-doc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ edition.workspace = true
authors.workspace = true
license.workspace = true
rust-version.workspace = true
publish.workspace = true

[dependencies]
thiserror.workspace = true
Expand Down
1 change: 0 additions & 1 deletion crates/rari-l10n/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ edition.workspace = true
authors.workspace = true
license.workspace = true
rust-version.workspace = true
publish.workspace = true

[dependencies]
rari-types.workspace = true
Expand Down
1 change: 0 additions & 1 deletion crates/rari-linter/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ edition.workspace = true
authors.workspace = true
license.workspace = true
rust-version.workspace = true
publish.workspace = true

[dependencies]
thiserror.workspace = true
1 change: 0 additions & 1 deletion crates/rari-md/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ edition.workspace = true
authors.workspace = true
license.workspace = true
rust-version.workspace = true
publish.workspace = true

[dependencies]
anyhow.workspace = true
Expand Down
1 change: 0 additions & 1 deletion crates/rari-templ-func/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ edition.workspace = true
authors.workspace = true
license.workspace = true
rust-version.workspace = true
publish.workspace = true

[lib]
proc-macro = true
Expand Down
1 change: 0 additions & 1 deletion crates/rari-tools/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ edition.workspace = true
authors.workspace = true
license.workspace = true
rust-version.workspace = true
publish.workspace = true

[dependencies]
rari-types.workspace = true
Expand Down
1 change: 0 additions & 1 deletion crates/rari-types/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ edition.workspace = true
authors.workspace = true
license.workspace = true
rust-version.workspace = true
publish.workspace = true

[features]
testing = []
Expand Down
1 change: 0 additions & 1 deletion crates/rari-utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ edition.workspace = true
authors.workspace = true
license.workspace = true
rust-version.workspace = true
publish.workspace = true

[dependencies]
thiserror.workspace = true
Expand Down
9 changes: 9 additions & 0 deletions release-please-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"bootstrap-sha": "eefc5a8d6dd623b6928fd99dc5681095a29cb633",
"bump-minor-pre-major": true,
"packages": {
".": {
"release-type": "rust"
}
}
}
1 change: 1 addition & 0 deletions release-plz.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ semver_check = false
[[package]]
name = "rari"
git_tag_name = "v{{ version }}"
publish = false
git_tag_enable = true
git_release_enable = true
git_release_type = "auto"
Expand Down

0 comments on commit c843529

Please sign in to comment.