Skip to content

Commit

Permalink
workflows/remove-disabled-packages: only run job in official repo
Browse files Browse the repository at this point in the history
Otherwise forks keep producing errors like [^1] every day.

[^1]: https://github.com/ZhongRuoyu/homebrew-core/actions/runs/11318833482
  • Loading branch information
ZhongRuoyu committed Oct 14, 2024
1 parent 5f2db26 commit 8e156f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/remove-disabled-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ jobs:
permissions:
issues: write # for Homebrew/actions/create-or-update-issue
needs: remove-disabled-packages
if: always()
if: always() && github.repository_owner == 'Homebrew'
runs-on: ubuntu-latest
steps:
- name: Create issue on failure
Expand Down

0 comments on commit 8e156f5

Please sign in to comment.