-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Brings in some updated workflows from [CQCL/hugr](http://github.com/CQCL/hugr). - Adds new issues to the hugrverse project. - Checks the conventional commit format in the PR titles, and lets @hugrbot post help messages. - Automate publishing to crates.io with release-plz - Simplifies the changelog format configuration (using the one from CQCL/tket2).
- Loading branch information
Showing
5 changed files
with
133 additions
and
82 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: Add issues to project | ||
|
||
on: | ||
issues: | ||
types: | ||
- opened | ||
|
||
jobs: | ||
add-to-project: | ||
name: Add issue to project | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
project-url: https://github.com/orgs/CQCL-DEV/projects/10 | ||
github-token: ${{ secrets.HUGRBOT_PAT }} | ||
id: add-project |
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,4 +1,5 @@ | ||
name: Release-plz | ||
# Automatic changelog, version bumping, and semver-checks with release-plz for rust projects | ||
name: Release-plz 🦀 | ||
|
||
permissions: | ||
pull-requests: write | ||
|
@@ -22,7 +23,6 @@ jobs: | |
uses: dtolnay/rust-toolchain@stable | ||
- name: Run release-plz | ||
uses: MarcoIeni/[email protected] | ||
with: | ||
command: release-pr | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GITHUB_TOKEN: ${{ secrets.HUGRBOT_PAT }} | ||
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} |
This file was deleted.
Oops, something went wrong.
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,2 +1,18 @@ | ||
[workspace] | ||
changelog_config = "cliff.toml" # use a custom git-cliff configuration | ||
pr_draft = true | ||
|
||
[changelog] | ||
sort_commits = "oldest" | ||
|
||
commit_parsers = [ | ||
{ message = "^feat", group = "New Features" }, | ||
{ message = "^fix", group = "Bug Fixes" }, | ||
{ message = "^docs", group = "Documentation" }, | ||
{ message = "^style", group = "Styling" }, | ||
{ message = "^refactor", group = "Refactor" }, | ||
{ message = "^perf", group = "Performance" }, | ||
{ message = "^test", group = "Testing" }, | ||
{ message = "^chore", group = "Miscellaneous Tasks", skip = true }, | ||
{ message = "^revert", group = "Reverted changes", skip = true }, | ||
{ message = "^ci", group = "CI", skip = true }, | ||
] |