-
Notifications
You must be signed in to change notification settings - Fork 319
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #565 from gitlabhq/fork-actions-pass
Fix "Run failed" on forks
- Loading branch information
Showing
1 changed file
with
2 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,7 @@ jobs: | |
acceptance-ee: | ||
timeout-minutes: 60 | ||
runs-on: ubuntu-latest | ||
if: ${{ github.event_name == 'push' }} | ||
if: github.event_name == 'push' && github.repository_owner == 'gitlabhq' | ||
steps: | ||
- name: Set up Go | ||
uses: actions/[email protected] | ||
|
@@ -38,10 +38,7 @@ jobs: | |
- name: Set up Enterprise Edition License file | ||
run: | | ||
openssl version | ||
mkdir license | ||
[[ -n "${{ secrets.LICENSE_ENCRYPTION_PASSWORD }}" ]] && echo decrypt | ||
[[ -n "${{ secrets.LICENSE_ENCRYPTION_PASSWORD }}" ]] && openssl enc -d -aes-256-cbc -pbkdf2 -iter 20000 -in Gitlab-license.encrypted -out Gitlab-license.txt -pass "pass:${{ secrets.LICENSE_ENCRYPTION_PASSWORD }}" | ||
chmod 666 Gitlab-license.txt || true | ||
openssl enc -d -aes-256-cbc -pbkdf2 -iter 20000 -in Gitlab-license.encrypted -out Gitlab-license.txt -pass "pass:${{ secrets.LICENSE_ENCRYPTION_PASSWORD }}" | ||
- name: Start Gitlab | ||
run: make testacc-up SERVICE=gitlab-ee | ||
|