Skip to content

Commit

Permalink
workflows/cache: avoid gh-readonly-queue push events
Browse files Browse the repository at this point in the history
  • Loading branch information
Bo98 committed Nov 17, 2023
1 parent fd7d0fa commit c277c0c
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/cache.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
name: Populate gem cache

on:
pull_request:
paths:
- .github/workflows/cache.yml
push:
paths:
- .github/workflows/cache.yml
branches:
- master
schedule:
- cron: '30 19/6 * * *'
workflow_dispatch:
Expand All @@ -16,13 +21,15 @@ env:
HOMEBREW_NO_AUTO_UPDATE: 1

concurrency:
group: cache
group: cache-${{ github.event.pull_request.number }}
cancel-in-progress: true

jobs:
determine-runners:
if: github.repository_owner == 'Homebrew'
runs-on: ubuntu-22.04
container:
image: ghcr.io/homebrew/ubuntu22.04:master
outputs:
runners: ${{ steps.determine-runners.outputs.runners }}
steps:
Expand Down

0 comments on commit c277c0c

Please sign in to comment.