diff --git a/.github/bin/common.sh b/.github/bin/common.sh index 3ca9cf0aa..ff83f4e0d 100755 --- a/.github/bin/common.sh +++ b/.github/bin/common.sh @@ -60,7 +60,7 @@ initStableTemplates() { versions=$(curl \ -H "Authorization: bearer ${GITHUB_TOKEN}" \ -X POST -H "Content-Type: application/json" --data \ - '{"query": "{ repository(owner: \"eclipse\", name: \"che-operator\") { refs(refPrefix: \"refs/tags/\", last: 2, orderBy: {field: TAG_COMMIT_DATE, direction: ASC}) { edges { node { name } } } } }" } ' \ + '{"query": "{ repository(owner: \"eclipse-che\", name: \"che-operator\") { refs(refPrefix: \"refs/tags/\", last: 2, orderBy: {field: TAG_COMMIT_DATE, direction: ASC}) { edges { node { name } } } } }" } ' \ https://api.github.com/graphql) echo "${versions[*]}" diff --git a/.github/workflows/minikube-stable-olm-update.yaml b/.github/workflows/minikube-stable-olm-update.yaml index 1958cf845..aa5598e06 100644 --- a/.github/workflows/minikube-stable-olm-update.yaml +++ b/.github/workflows/minikube-stable-olm-update.yaml @@ -37,6 +37,8 @@ jobs: run: bash <(curl -sL https://www.eclipse.org/che/chectl/) --channel=stable - name: Run tests run: /bin/bash .github/bin/minikube/test-stable-olm-update.sh + env: + "GITHUB_TOKEN": "${{ secrets.GITHUB_TOKEN }}" # Run this step even the previous step fail - uses: actions/upload-artifact@v2 if: ${{ always() }}