Skip to content

Commit db31218

Browse files
committed
Run publish jobs on upstream only
1 parent 311a964 commit db31218

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,17 @@ concurrency:
1010

1111
jobs:
1212
# npm:
13+
# if: github.repository_owner == 'stadelmanma'
1314
# uses: tree-sitter/workflows/.github/workflows/package-npm.yml@main
1415
# secrets:
1516
# NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
1617
crates:
18+
if: github.repository_owner == 'stadelmanma'
1719
uses: tree-sitter/workflows/.github/workflows/package-crates.yml@main
1820
secrets:
1921
CARGO_REGISTRY_TOKEN: ${{secrets.CARGO_REGISTRY_TOKEN}}
2022
pypi:
23+
if: github.repository_owner == 'stadelmanma'
2124
uses: tree-sitter/workflows/.github/workflows/package-pypi.yml@main
2225
secrets:
2326
PYPI_API_TOKEN: ${{secrets.PYPI_API_TOKEN}}

0 commit comments

Comments
 (0)