Skip to content

Commit

Permalink
Prevent the automated workflow from running in fork
Browse files Browse the repository at this point in the history
  • Loading branch information
kstich committed Jan 2, 2024
1 parent 63d3314 commit 878326b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/update-smithy-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
jobs:
get-version:
runs-on: ubuntu-latest
if: github.repository == 'smithy-lang/smithy-language-server'
steps:
- uses: actions/checkout@v3

Expand Down Expand Up @@ -57,4 +58,4 @@ jobs:
--base main
echo "PR Created for version bump to ${{ steps.fetch-latest.outputs.latestSmithy }}"
env:
GITHUB_TOKEN: ${{ secrets.PR_TOKEN }}
GITHUB_TOKEN: ${{ secrets.PR_TOKEN }}

0 comments on commit 878326b

Please sign in to comment.