Skip to content

Commit

Permalink
Limit when release artifacts are built on forks.
Browse files Browse the repository at this point in the history
Previously in #32114, adjustments were made to GHA workflow files to limit when workflows ran on forked repositories. But this missed the second job in the workflow that builds the release artifact.

Because it was set to always run even though the previous job is required, it has continued to run on forks.
  • Loading branch information
desrosj committed Jun 7, 2021
1 parent 2826f50 commit 349c5b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-plugin-zip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ jobs:
name: Build Release Artifact
runs-on: ubuntu-latest
needs: bump-version
if: always()
if: ${{ github.repository == 'WordPress/gutenberg' || github.event_name == 'pull_request' }}

steps:
- name: Checkout code
Expand Down

0 comments on commit 349c5b6

Please sign in to comment.