add hub to release-che-docs.yml too (#1769)

Change-Id: I849403b0101dc33704e2873fcaae3140d1955989

Signed-off-by: Nick Boldt <nboldt@redhat.com>
pull/1770/head
Nick Boldt 2023-10-19 12:43:10 -03:00 committed by GitHub
parent 2bbf481fda
commit 5541583adb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 4 deletions

View File

@ -37,6 +37,11 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up environment
run: |
sudo apt-get update -y || true
sudo apt-get -y -q install curl bash git hub
hub --version
- name: Set up Python 3.9
uses: actions/setup-python@v4
with:
@ -47,7 +52,6 @@ jobs:
pip install yq
- name: Release che docs PRs
run: |
hub version
git config --global user.name "Mykhailo Kuznietsov"
git config --global user.email "mkuznets@redhat.com"
export GITHUB_TOKEN=${{ secrets.CHE_BOT_GITHUB_TOKEN }}

View File

@ -52,7 +52,6 @@ jobs:
pip install yq
- name: Release chectl PRs
run: |
hub version
git config --global user.name "Mykhailo Kuznietsov"
git config --global user.email "mkuznets@redhat.com"
export GITHUB_TOKEN=${{ secrets.CHE_INCUBATOR_BOT_GITHUB_TOKEN }}

View File

@ -48,7 +48,6 @@ jobs:
pip install yq
- name: Release community operator PR
run: |
hub version
git config --global user.name "Mykhailo Kuznietsov"
git config --global user.email "mkuznets@redhat.com"
export GITHUB_TOKEN=${{ secrets.CHE_INCUBATOR_BOT_GITHUB_TOKEN }}

View File

@ -60,6 +60,7 @@ jobs:
pip install yq
pip install semver
sudo apt-get -y -q install hub
hub --version
# get base32 util from che-release project
wget https://raw.githubusercontent.com/eclipse/che-release/master/utils/base32
# copy base32 python-based helper script into dir that's accessed from PATH (so it's accessible to this and other called scripts)
@ -80,7 +81,6 @@ jobs:
echo "CHE_VERSION=${CHE_VERSION}"
BRANCH=${CHE_VERSION%.*}.x
echo "BRANCH=${BRANCH}"
hub version
git config --global user.name "Mykhailo Kuznietsov"
git config --global user.email "mkuznets@redhat.com"
export GITHUB_TOKEN=${{ secrets.CHE_BOT_GITHUB_TOKEN }}