Skip to content

Commit

Permalink
[master] - Only run the release if we are in the correct repo, forks …
Browse files Browse the repository at this point in the history
…should not be able to deploy the pod - TT
  • Loading branch information
Tyler-Keith-Thompson committed Apr 27, 2021
1 parent e3e7cce commit f1cc432
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
jobs:
release:
runs-on: macos-latest
if: ${{ github.repository == 'Tyler-Keith-Thompson/Workflow' }}
steps:
- uses: actions/checkout@v2
- name: Cocoapods Release
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/trunk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
jobs:
version_bump:
runs-on: macos-latest
if: ${{ github.event.workflow_run.conclusion == 'success' && github.repository == ‘Tyler-Keith-Thompson/Workflow’ }}
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- uses: actions/checkout@v2
with:
Expand Down

0 comments on commit f1cc432

Please sign in to comment.