diff --git a/.github/workflows/release-che-docs.yml b/.github/workflows/release-che-docs.yml index efb7c170f..8ee5e1d5b 100644 --- a/.github/workflows/release-che-docs.yml +++ b/.github/workflows/release-che-docs.yml @@ -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 }} diff --git a/.github/workflows/release-chectl.yml b/.github/workflows/release-chectl.yml index a1d2c26ff..e931e0655 100644 --- a/.github/workflows/release-chectl.yml +++ b/.github/workflows/release-chectl.yml @@ -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 }} diff --git a/.github/workflows/release-community-operator-PRs.yml b/.github/workflows/release-community-operator-PRs.yml index beffec85e..9d1c1dbed 100644 --- a/.github/workflows/release-community-operator-PRs.yml +++ b/.github/workflows/release-community-operator-PRs.yml @@ -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 }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 73c88024a..ef20307e6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 }}