Skip to content

Commit

Permalink
Merge pull request Helmholtz-UFZ#27 from Helmholtz-UFZ/fix-deploy-rep…
Browse files Browse the repository at this point in the history
…oowner

fix repo owner
  • Loading branch information
bernt-matthias authored Jun 10, 2024
2 parents 4273492 + 88861b3 commit 4dc182c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ env:
jobs:
setup:
name: Setup cache and determine changed repositories
if: ${{ github.repository_owner == 'bernt-matthias' }}
if: ${{ github.repository_owner == 'Helmholtz-UFZ' }}
runs-on: ubuntu-latest
outputs:
galaxy-head-sha: ${{ steps.get-galaxy-sha.outputs.galaxy-head-sha }}
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ jobs:
echo 'base_ref: ${{ github.base_ref }}'
echo 'event.before: ${{ github.event.before }}'
echo 'event.after: ${{ github.event.after }}'
echo 'repository_owner: ${{ github.repository_owner }}'
- name: Determine latest commit in the Galaxy repo
id: get-galaxy-sha
run: echo "galaxy-head-sha=$(git ls-remote https://github.com/${{ env.GALAXY_FORK }}/galaxy refs/heads/${{ env.GALAXY_BRANCH }} | cut -f1)" >> $GITHUB_OUTPUT
Expand Down Expand Up @@ -376,7 +377,7 @@ jobs:
deploy:
name: Deploy
needs: [setup, lint, combine_outputs]
if: ${{ (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main' ) && github.repository_owner == 'galaxyproject' }}
if: ${{ (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main' ) && github.repository_owner == 'Helmholtz-UFZ' }}
runs-on: ubuntu-latest
strategy:
matrix:
Expand Down Expand Up @@ -413,7 +414,7 @@ jobs:
deploy-report:
name: Report deploy status
needs: [deploy]
if: ${{ always() && needs.deploy.result != 'success' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main' ) && github.repository_owner == 'bernt-matthias' }}
if: ${{ always() && needs.deploy.result != 'success' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main' ) && github.repository_owner == 'Helmholtz-UFZ' }}
runs-on: ubuntu-latest
steps:
# report to the PR if deployment failed
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/slash.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Slash Command Dispatch
if: github.repository_owner == 'bernt-matthias'
if: github.repository_owner == 'Helmholtz-UFZ'
uses: peter-evans/slash-command-dispatch@v3
with:
token: ${{ secrets.PAT }}
Expand Down

0 comments on commit 4dc182c

Please sign in to comment.