Skip to content

Commit 81f29d3

Browse files
committed
chore(tidelift-alignment): run only in main repository, not in forks
This is because in forks this workflow would run, but error because of missing secrets
1 parent ba323df commit 81f29d3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/tidelift-alignment.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ jobs:
1212
build:
1313
name: Run Tidelift to ensure approved open source packages are in use
1414
runs-on: ubuntu-latest
15+
if: github.repository == 'Automattic/mongoose'
1516
steps:
1617
- name: Checkout
1718
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.2
@@ -24,4 +25,4 @@ jobs:
2425
env:
2526
TIDELIFT_API_KEY: ${{ secrets.TIDELIFT_API_KEY }}
2627
TIDELIFT_ORGANIZATION: ${{ secrets.TIDELIFT_ORGANIZATION }}
27-
TIDELIFT_PROJECT: ${{ secrets.TIDELIFT_PROJECT }}
28+
TIDELIFT_PROJECT: ${{ secrets.TIDELIFT_PROJECT }}

0 commit comments

Comments
 (0)