Skip to content

Commit

Permalink
ICU-22920 Only run Maven cache workflow on the upstream repo
Browse files Browse the repository at this point in the history
See #3263
  • Loading branch information
echeran authored and Squash Bot committed Nov 5, 2024
1 parent 8d86ca1 commit 3f5230a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/cache_retain.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ jobs:
retain-maven-cache:
name: Run all tests with Maven
runs-on: ubuntu-22.04 # Updated in BRS
# Only run this on the upstream repo. Otherwise, running in a personal fork will cause
# Github to disable the personal fork copy of the workflow
# (Github complains about running a scheduled workflow on a repo with > 60 days of inactivity)
if: github.ref == 'refs/heads/main' && github.repository == 'unicode-org/unicodetools'
steps:
- name: Checkout and setup
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
Expand Down

0 comments on commit 3f5230a

Please sign in to comment.