Skip to content

Commit

Permalink
chore: CI fixes (#279)
Browse files Browse the repository at this point in the history
- Move the changelog to a location where `cargo-dist` will pick it up.
It currently doesn't allow configuring the expected path, which is
annoying.
- Fix permissions for job that re-enables workspace hack
- Fix bash in the contributors workflow
  • Loading branch information
LukeMathWalker committed Apr 25, 2024
1 parent 124fbe6 commit 51701dd
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/contributors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ jobs:
run: |
pr_author=$(jq -r .pull_request.user.login "$GITHUB_EVENT_PATH")
if "$pr_author" == "dependabot[bot]"; then
if [ "$pr_author" = "dependabot[bot]" ]; then
echo "PR author is dependabot[bot]"
exit 0
fi
if "$pr_author" == "pavex-releaser[bot]"; then
if [ "$pr_author" = "pavex-releaser[bot]" ]; then
echo "PR author is pavex-releaser[bot]"
exit 0
fi
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/enable-workspace-hack.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Re-enable workspace hack after a release

permissions:
contents: write
pull-requests: write

on:
push:
Expand Down
2 changes: 1 addition & 1 deletion libs/.release-plz.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ allow_dirty = true
name = "pavex"
changelog_update = true
changelog_include = ["pavex_cli", "pavexc", "pavexc_cli", "pavex_tracing", "pavex_cli_client", "pavexc_cli_client", "pavex_macros", "pavex_reflection", "pavex_miette", "pavex_bp_schema"]
changelog_path = "../CHANGELOG.md"
changelog_path = "CHANGELOG.md"
git_tag_name = "{{ version }}"
git_tag_enable = true
File renamed without changes.

0 comments on commit 51701dd

Please sign in to comment.