Skip to content

Commit

Permalink
Merge pull request #4 from LyraPhase/test-pr-pull
Browse files Browse the repository at this point in the history
test pr pull
  • Loading branch information
trinitronx authored Oct 17, 2024
2 parents 3c71e02 + fc340c2 commit c8e0c6e
Showing 1 changed file with 3 additions and 3 deletions.
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

0 comments on commit c8e0c6e

Please sign in to comment.