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

test pr pull #4

Merged
merged 3 commits into from
Oct 17, 2024
Merged
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
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: brew pr-pull
on:
pull_request_target:
pull_request:
types:
- labeled
workflow_dispatch:
Expand Down Expand Up @@ -41,6 +41,7 @@ env:

jobs:
check:
if: (contains(github.event.pull_request.labels.*.name, 'pr-pull') || github.event.label.name == 'pr-pull')
runs-on: ubuntu-latest
outputs:
bottles: ${{ steps.pr-branch-check.outputs.bottles }}
Expand Down Expand Up @@ -177,7 +178,7 @@ jobs:

pr-pull:
needs: check
if: contains(github.event.pull_request.labels.*.name, 'pr-pull')
if: (contains(github.event.pull_request.labels.*.name, 'pr-pull') || github.event.label.name == 'pr-pull')
runs-on: ubuntu-latest
steps:
- name: Set up Homebrew
Expand Down Expand Up @@ -212,7 +213,6 @@ jobs:
--clean \
--autosquash \
--tap="$GITHUB_REPOSITORY" \
--github-org="${GITHUB_REPOSITORY_OWNER}" \
--committer="$BREWTESTBOT_NAME_EMAIL" \
--root-url="https://ghcr.io/v2/${GITHUB_REPOSITORY_OWNER}/${GITHUB_REPOSITORY#*/homebrew-}" \
--retain-bottle-dir \
Expand Down
Loading