Skip to content

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
tcjennings committed Dec 13, 2024
1 parent 7683610 commit bd1660e
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,13 @@ jobs:
# but in this case the build will fail with an error since the secret
# won't be set.
if: >
github.event_name != 'merge_group'
&& (
startsWith(github.ref, 'refs/tags/') ||
startsWith(github.head_ref, 'u/tobyj/')
(
github.event_name == 'pull_request' &&
github.event.action != 'closed' &&
startsWith(github.head_ref, 'u/tobyj/')
) || (
github.event_name == 'push' &&
startsWith(github.ref, 'refs/tags/') ||
)
steps:
Expand Down Expand Up @@ -108,7 +111,7 @@ jobs:
steps:
- run: >-
echo "${{ github.head_ref }} merged into ${{ github.ref }}
by {{ github.event.pull_request.merged_by.name }} <{{ github.event.pull_request.merged_by.email }}>"
by {{ github.event.pull_request.user.name }} <{{ github.event.pull_request.user.email }}>"
- uses: actions/checkout@v4

- name: Set up UV
Expand Down

0 comments on commit bd1660e

Please sign in to comment.