Skip to content

Commit 9884585

Browse files
authored
Merge pull request #565 from gitlabhq/fork-actions-pass
Fix "Run failed" on forks
2 parents ae67bc8 + 6601879 commit 9884585

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/acceptance-tests.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
acceptance-ee:
2525
timeout-minutes: 60
2626
runs-on: ubuntu-latest
27-
if: ${{ github.event_name == 'push' }}
27+
if: github.event_name == 'push' && github.repository_owner == 'gitlabhq'
2828
steps:
2929
- name: Set up Go
3030
uses: actions/[email protected]
@@ -38,10 +38,7 @@ jobs:
3838
- name: Set up Enterprise Edition License file
3939
run: |
4040
openssl version
41-
mkdir license
42-
[[ -n "${{ secrets.LICENSE_ENCRYPTION_PASSWORD }}" ]] && echo decrypt
43-
[[ -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 }}"
44-
chmod 666 Gitlab-license.txt || true
41+
openssl enc -d -aes-256-cbc -pbkdf2 -iter 20000 -in Gitlab-license.encrypted -out Gitlab-license.txt -pass "pass:${{ secrets.LICENSE_ENCRYPTION_PASSWORD }}"
4542
4643
- name: Start Gitlab
4744
run: make testacc-up SERVICE=gitlab-ee

0 commit comments

Comments
 (0)