Skip to content

Commit

Permalink
chore: make some gh workflows only run on jdx/mise (#2489)
Browse files Browse the repository at this point in the history
Cron scheduled and jobs that require credentials are not scheduled on
any fork.

The test-plugins job is still requestable by hand on forks.
  • Loading branch information
CharString authored Aug 22, 2024
1 parent 778f806 commit f71e3ef
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ env:

jobs:
release:
if: github.repository == 'jdx/mise'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release-plz.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ env:

jobs:
release-plz:
if: github.repository == 'jdx/mise'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/test-plugins.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ env:

jobs:
build-linux:
if: >
github.event_name == 'workflow_dispatch'
|| github.repository == 'jdx/mise'
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit f71e3ef

Please sign in to comment.