Skip to content

Commit

Permalink
Revert "ci: upgrade actions/checkout@v4, actions/github-script@v7, ad…
Browse files Browse the repository at this point in the history
…d test_retry_count input for build_and_test_ya action" (ydb-platform#8185)
  • Loading branch information
maximyurchuk authored Aug 22, 2024
1 parent 4a97ccb commit ef8014a
Show file tree
Hide file tree
Showing 14 changed files with 17 additions and 21 deletions.
4 changes: 0 additions & 4 deletions .github/actions/build_and_test_ya/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,6 @@ inputs:
additional_ya_make_args:
type: string
default: ""
test_retry_count:
default: ""
description: "how many times to retry failed tests"
secs:
type: string
default: ""
Expand Down Expand Up @@ -127,7 +124,6 @@ runs:
bazel_remote_username: ${{ fromJSON( inputs.secs ).REMOTE_CACHE_USERNAME || '' }}
bazel_remote_password: ${{ fromJSON( inputs.secs ).REMOTE_CACHE_PASSWORD || '' }}
put_build_results_to_cache: ${{ inputs.put_build_results_to_cache }}
test_retry_count: ${{ inputs.test_retry_count }}

- name: build_stats
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/acceptance_run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
runs-on: [ self-hosted, "${{ inputs.runner_label || 'auto-provisioned' }}", "${{ format('build-preset-{0}', inputs.build_preset || 'relwithdebinfo') }}" ]
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v3
with:
ref: ${{ inputs.commit_sha }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/allowed_dirs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
cancel-in-progress: true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v3

- name: Check dirs
run: ${{github.workspace}}/.github/check_dirs.sh ${{github.workspace}}
2 changes: 1 addition & 1 deletion .github/workflows/build_analytics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
runs-on: [ self-hosted, "${{ inputs.runner_label || 'auto-provisioned' }}", "${{ format('build-preset-{0}', inputs.build_preset || 'relwithdebinfo') }}" ]
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v3
with:
ref: ${{ inputs.commit_sha }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_and_test_provisioned.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
runs-on: [ self-hosted, "${{ inputs.runner_label }}" ]
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v3
with:
ref: ${{ inputs.checkout_ref }}
- name: Build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_and_test_ya.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
runs-on: [ self-hosted, "${{ inputs.runner_label }}", "${{ inputs.runner_additional_label || inputs.runner_label }}"]
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v3
with:
ref: ${{ inputs.commit_sha }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/collect_analytics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: [ self-hosted ]
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v3
with:
ref: ${{ inputs.commit_sha }}
- name: Setup ydb access
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs_build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v3
- name: Extract version
shell: bash
run: echo "version=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" | sed -e 's|stable-|v|g' -e 's|-|.|g' >> $GITHUB_OUTPUT
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/postcommit_asan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
name: Build and test release-asan
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v3
with:
fetch-depth: 2
- name: Setup ydb access
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/postcommit_relwithdebinfo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
name: Build and test relwithdebinfo
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v3
with:
fetch-depth: 2
- name: Setup ydb access
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/pr_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Check if running tests is allowed
id: check-ownership-membership
uses: actions/github-script@v7
uses: actions/github-script@v6
with:
github-token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
script: |
Expand Down Expand Up @@ -81,7 +81,7 @@ jobs:
- name: comment-if-waiting-on-ok
if: steps.check-ownership-membership.outputs.result == 'false' &&
github.event.action == 'opened'
uses: actions/github-script@v7
uses: actions/github-script@v6
with:
script: |
let externalContributorLabel = 'external';
Expand All @@ -100,7 +100,7 @@ jobs:
});
- name: cleanup-test-label
uses: actions/github-script@v7
uses: actions/github-script@v6
with:
script: |
let labelsToRemove = ['ok-to-test', 'rebase-and-check'];
Expand All @@ -126,7 +126,7 @@ jobs:
- name: check is mergeable
id: check-is-mergeable
if: steps.check-ownership-membership.outputs.result == 'true'
uses: actions/github-script@v7
uses: actions/github-script@v6
with:
result-encoding: string
script: |
Expand Down Expand Up @@ -210,7 +210,7 @@ jobs:
name: Build and test ${{ matrix.build_preset }}
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v3
with:
ref: ${{ needs.check-running-allowed.outputs.commit_sha }}
fetch-depth: 2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr_labels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
steps:
- name: Update PR labels
id: update-pr-labels
uses: actions/github-script@v7
uses: actions/github-script@v6
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/prewarm-ccache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
version: ["ubuntu-2204", "ubuntu-2004", "ubuntu-1804"]
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v3
- name: build
shell: bash
run: |
Expand Down

0 comments on commit ef8014a

Please sign in to comment.