Skip to content

Commit 280591d

Browse files
Merge pull request #7747 from onflow/sre/jp/remove-unnecessary-env-check
Update CI workflow to remove unneeded environment check
2 parents 7835549 + ccbed6a commit 280591d

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -295,10 +295,6 @@ jobs:
295295
runs-on: buildjet-16vcpu-ubuntu-2204
296296
env:
297297
CADENCE_DEPLOY_KEY: ${{ secrets.CADENCE_DEPLOY_KEY }}
298-
# Set the environment based on the author association of the pull request.
299-
# This is used to determine whether the build should be run in an internal or external environment.
300-
# If the author is a member or collaborator, use the internal environment; otherwise, use the external environment that will require approval
301-
environment: ${{ (github.event_name == 'merge_group' || (github.event.pull_request && (github.event.pull_request.author_association == 'MEMBER' || github.event.pull_request.author_association == 'COLLABORATOR'))) && 'internal-ci' || 'external-ci' }}
302298
steps:
303299
- name: Checkout repo
304300
uses: actions/checkout@v4

0 commit comments

Comments
 (0)