diff --git a/.github/workflows/CD.yml b/.github/workflows/CD.yml index fe91d37541..5e29112af9 100644 --- a/.github/workflows/CD.yml +++ b/.github/workflows/CD.yml @@ -47,7 +47,7 @@ jobs: version: ${{ steps.checking_sha_version.outputs.version }} testing_version: ${{ steps.checking_sha_version.outputs.testing_version }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3.1.0 - name: Configure AWS Credentials uses: aws-actions/configure-aws-credentials@v1 @@ -97,7 +97,7 @@ jobs: ec2-matrix-3: ${{ steps.set-matrix.outputs.ec2-matrix-3 }} steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3.1.0 with: ref: ${{ github.event.inputs.sha }} @@ -129,7 +129,7 @@ jobs: runs-on: ubuntu-latest needs: [release-checking] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3.1.0 - name: Restore cached packages uses: actions/cache@v2 @@ -169,7 +169,7 @@ jobs: max-parallel: 5 matrix: ${{ fromJson(needs.get-testing-suites.outputs.ec2-matrix-1) }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3.1.0 - name: Cache if success id: s3-release-validation-1 @@ -202,7 +202,7 @@ jobs: - name: Check out testing framework if: steps.s3-release-validation-1.outputs.cache-hit != 'true' - uses: actions/checkout@v2 + uses: actions/checkout@v3.1.0 with: repository: ${{ env.TESTING_FRAMEWORK_REPO }} path: testing-framework @@ -232,7 +232,7 @@ jobs: matrix: ${{ fromJson(needs.get-testing-suites.outputs.ec2-matrix-2) }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3.1.0 - name: Cache if success id: s3-release-validation-2 @@ -265,7 +265,7 @@ jobs: - name: Check out testing framework if: steps.s3-release-validation-2.outputs.cache-hit != 'true' - uses: actions/checkout@v2 + uses: actions/checkout@v3.1.0 with: repository: ${{ env.TESTING_FRAMEWORK_REPO }} path: testing-framework @@ -295,7 +295,7 @@ jobs: matrix: ${{ fromJson(needs.get-testing-suites.outputs.ec2-matrix-3) }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3.1.0 - name: Cache if success id: s3-release-validation-3 @@ -328,7 +328,7 @@ jobs: - name: Check out testing framework if: steps.s3-release-validation-3.outputs.cache-hit != 'true' - uses: actions/checkout@v2 + uses: actions/checkout@v3.1.0 with: repository: ${{ env.TESTING_FRAMEWORK_REPO }} path: testing-framework @@ -353,7 +353,7 @@ jobs: runs-on: ubuntu-latest needs: [release-checking] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3.1.0 - name: Restore cached packages uses: actions/cache@v2 @@ -386,7 +386,7 @@ jobs: matrix: ${{ fromJson(needs.get-testing-suites.outputs.ecs-matrix) }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3.1.0 - name: Cache if success id: release-validation-ecs @@ -419,7 +419,7 @@ jobs: - name: Check out testing framework if: steps.release-validation-ecs.outputs.cache-hit != 'true' - uses: actions/checkout@v2 + uses: actions/checkout@v3.1.0 with: repository: "${{ env.TESTING_FRAMEWORK_REPO }}" path: testing-framework @@ -449,7 +449,7 @@ jobs: matrix: ${{ fromJson(needs.get-testing-suites.outputs.eks-matrix) }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3.1.0 - name: Cache if success id: release-validation-eks @@ -482,7 +482,7 @@ jobs: - name: Check out testing framework if: steps.release-validation-eks.outputs.cache-hit != 'true' - uses: actions/checkout@v2 + uses: actions/checkout@v3.1.0 with: repository: "${{ env.TESTING_FRAMEWORK_REPO }}" path: testing-framework @@ -510,7 +510,7 @@ jobs: steps: #Since the tools in workflow are always up-to-date with the github workflow, we don't need to use the tools in workflows from the commited sha #but using the tools in workflows from the branch triggered with workflow_dispatch. - - uses: actions/checkout@v2 + - uses: actions/checkout@v3.1.0 - name: Configure AWS Credentials uses: aws-actions/configure-aws-credentials@v1 @@ -535,7 +535,7 @@ jobs: steps: #Since the tools in workflow are always up-to-date with the github workflow, we don't need to use the tools in workflows from the committed sha #but using the tools in workflows from the branch triggered with workflow_dispatch. - - uses: actions/checkout@v2 + - uses: actions/checkout@v3.1.0 - name: Cache if success id: release-latest-s3 @@ -569,7 +569,7 @@ jobs: steps: #Since the tools in workflow are always up-to-date with the github workflow, we don't need to use the tools in workflows from the committed sha #but using the tools in workflows from the branch triggered with workflow_dispatch. - - uses: actions/checkout@v2 + - uses: actions/checkout@v3.1.0 - name: Cache if success id: release-latest-image @@ -644,7 +644,7 @@ jobs: needs: [ s3-release-validation-1, s3-release-validation-2, s3-release-validation-3,release-validation-ecs, release-validation-eks, release-checking] steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3.1.0 with: ref: ${{ github.event.inputs.sha }} diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 1efe81357a..d6ca19e61e 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -53,7 +53,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out testing framework - uses: actions/checkout@v2 + uses: actions/checkout@v3.1.0 with: repository: 'aws-observability/aws-otel-test-framework' path: testing-framework @@ -83,11 +83,11 @@ jobs: with: go-version: 1.17 - - uses: actions/checkout@v2 + - uses: actions/checkout@v3.1.0 - name: Checkout dev opentelemetry-collector-contrib if: github.event_name == 'repository_dispatch' && github.event.action == 'dependency-build' - uses: actions/checkout@v2 + uses: actions/checkout@v3.1.0 with: repository: ${{ github.repository_owner }}/opentelemetry-collector-contrib ref: main @@ -95,7 +95,7 @@ jobs: - name: Checkout dev opentelemetry-collector if: github.event_name == 'repository_dispatch' && github.event.action == 'dependency-build' - uses: actions/checkout@v2 + uses: actions/checkout@v3.1.0 with: repository: ${{ github.repository_owner }}/opentelemetry-collector ref: main @@ -158,7 +158,7 @@ jobs: needs: build runs-on: windows-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3.1.0 - name: Download built artifacts uses: actions/download-artifact@v2 @@ -227,7 +227,7 @@ jobs: needs: build steps: # Build and archive rpms into cache. - - uses: actions/checkout@v2 + - uses: actions/checkout@v3.1.0 - name: Cache rpms id: cached_rpms @@ -288,7 +288,7 @@ jobs: needs: build steps: # Build and archive debs into cache. - - uses: actions/checkout@v2 + - uses: actions/checkout@v3.1.0 - name: Cache Debs id: cached_debs @@ -343,7 +343,7 @@ jobs: needs: [packaging-rpm, packaging-deb, packaging-msi] steps: # Build and archive SSM package into cache. - - uses: actions/checkout@v2 + - uses: actions/checkout@v3.1.0 - name: Cache SSM files id: cached_ssm @@ -390,7 +390,7 @@ jobs: version: ${{ steps.versioning.outputs.version }} steps: # Archive all the packages into one, and build a unique version number for e2etesting - - uses: actions/checkout@v2 + - uses: actions/checkout@v3.1.0 - name: Cache the packages id: cached_packages @@ -445,7 +445,7 @@ jobs: runs-on: ubuntu-latest needs: [e2etest-preparation] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3.1.0 - name: Cache if success id: e2etest-release @@ -546,7 +546,7 @@ jobs: ec2-matrix-3: ${{ steps.set-matrix.outputs.ec2-matrix-3 }} steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3.1.0 - name: Setup Python uses: actions/setup-python@v2.3.2 @@ -590,7 +590,7 @@ jobs: matrix: ${{ fromJson(needs.get-testing-suites.outputs.ec2-matrix-1) }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3.1.0 - name: Cache if success id: e2etest-ec2-1 @@ -621,7 +621,7 @@ jobs: - name: Check out testing framework if: steps.e2etest-ec2-1.outputs.cache-hit != 'true' - uses: actions/checkout@v2 + uses: actions/checkout@v3.1.0 with: repository: 'aws-observability/aws-otel-collector-test-framework' path: testing-framework @@ -669,7 +669,7 @@ jobs: matrix: ${{ fromJson(needs.get-testing-suites.outputs.ec2-matrix-2) }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3.1.0 - name: Cache if success id: e2etest-ec2-2 @@ -700,7 +700,7 @@ jobs: - name: Check out testing framework if: steps.e2etest-ec2-2.outputs.cache-hit != 'true' - uses: actions/checkout@v2 + uses: actions/checkout@v3.1.0 with: repository: 'aws-observability/aws-otel-collector-test-framework' path: testing-framework @@ -748,7 +748,7 @@ jobs: matrix: ${{ fromJson(needs.get-testing-suites.outputs.ec2-matrix-3) }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3.1.0 - name: Cache if success id: e2etest-ec2-3 @@ -779,7 +779,7 @@ jobs: - name: Check out testing framework if: steps.e2etest-ec2-3.outputs.cache-hit != 'true' - uses: actions/checkout@v2 + uses: actions/checkout@v3.1.0 with: repository: 'aws-observability/aws-otel-collector-test-framework' path: testing-framework @@ -827,7 +827,7 @@ jobs: matrix: ${{ fromJson(needs.get-testing-suites.outputs.ecs-matrix) }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3.1.0 - name: Cache if success id: e2etest-ecs @@ -858,7 +858,7 @@ jobs: - name: Check out testing framework if: steps.e2etest-ecs.outputs.cache-hit != 'true' - uses: actions/checkout@v2 + uses: actions/checkout@v3.1.0 with: repository: 'aws-observability/aws-otel-collector-test-framework' path: testing-framework @@ -899,7 +899,7 @@ jobs: matrix: ${{ fromJson(needs.get-testing-suites.outputs.eks-matrix) }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3.1.0 - name: Cache if success id: e2etest-eks @@ -930,7 +930,7 @@ jobs: - name: Check out testing framework if: steps.e2etest-eks.outputs.cache-hit != 'true' - uses: actions/checkout@v2 + uses: actions/checkout@v3.1.0 with: repository: 'aws-observability/aws-otel-collector-test-framework' path: testing-framework @@ -960,7 +960,7 @@ jobs: matrix: ${{ fromJson(needs.get-testing-suites.outputs.eks-arm64-matrix) }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3.1.0 - name: Cache if success id: e2etest-eks-arm64 @@ -991,7 +991,7 @@ jobs: - name: Check out testing framework if: steps.e2etest-eks-arm64.outputs.cache-hit != 'true' - uses: actions/checkout@v2 + uses: actions/checkout@v3.1.0 with: repository: 'aws-observability/aws-otel-collector-test-framework' path: testing-framework @@ -1022,7 +1022,7 @@ jobs: matrix: ${{ fromJson(needs.get-testing-suites.outputs.eks-fargate-matrix) }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3.1.0 - name: Cache if success id: e2etest-eks-fargate @@ -1053,7 +1053,7 @@ jobs: - name: Check out testing framework if: steps.e2etest-eks-fargate.outputs.cache-hit != 'true' - uses: actions/checkout@v2 + uses: actions/checkout@v3.1.0 with: repository: 'aws-observability/aws-otel-collector-test-framework' path: testing-framework @@ -1097,7 +1097,7 @@ jobs: matrix: ${{ fromJson(needs.get-testing-suites.outputs.eks-adot-operator-matrix) }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3.1.0 - name: Cache if success id: e2etest-eks-adot-operator @@ -1128,7 +1128,7 @@ jobs: - name: Check out testing framework if: steps.e2etest-eks-adot-operator.outputs.cache-hit != 'true' - uses: actions/checkout@v2 + uses: actions/checkout@v3.1.0 with: repository: 'aws-observability/aws-otel-collector-test-framework' path: testing-framework diff --git a/.github/workflows/PR-build.yml b/.github/workflows/PR-build.yml index 3a9fd52ad7..4f924361bf 100644 --- a/.github/workflows/PR-build.yml +++ b/.github/workflows/PR-build.yml @@ -35,7 +35,7 @@ jobs: outputs: changed: ${{ steps.filter.outputs.changed }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3.1.0 - uses: dorny/paths-filter@v2 id: filter with: @@ -65,7 +65,7 @@ jobs: - name: Checkout if: ${{ needs.changes.outputs.changed == 'true' }} - uses: actions/checkout@v2 + uses: actions/checkout@v3.1.0 - name: Cache go if: ${{ needs.changes.outputs.changed == 'true' }} @@ -114,7 +114,7 @@ jobs: steps: - name: Checkout if: ${{ needs.changes.outputs.changed == 'true' }} - uses: actions/checkout@v2 + uses: actions/checkout@v3.1.0 - name: Download built artifacts if: ${{ needs.changes.outputs.changed == 'true' }} @@ -138,7 +138,7 @@ jobs: # Build and archive RPMs into cache. - name: Checkout if: ${{ needs.changes.outputs.changed == 'true' }} - uses: actions/checkout@v2 + uses: actions/checkout@v3.1.0 - name: restore cached binaries if: ${{ needs.changes.outputs.changed == 'true' }} @@ -164,7 +164,7 @@ jobs: # Build and archive debs into cache. - name: Checkout if: ${{ needs.changes.outputs.changed == 'true' }} - uses: actions/checkout@v2 + uses: actions/checkout@v3.1.0 - name: Restore cached binaries if: ${{ needs.changes.outputs.changed == 'true' }} @@ -185,7 +185,7 @@ jobs: matrix: ${{ steps.set-matrix.outputs.matrix }} steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3.1.0 - name: Setup Python uses: actions/setup-python@v2.3.2 @@ -208,14 +208,14 @@ jobs: steps: - name: Check out testing framework if: ${{ needs.changes.outputs.changed == 'true' }} - uses: actions/checkout@v2 + uses: actions/checkout@v3.1.0 with: repository: 'aws-observability/aws-otel-collector-test-framework' path: testing-framework - name: Check out Collector if: ${{ needs.changes.outputs.changed == 'true' }} - uses: actions/checkout@v2 + uses: actions/checkout@v3.1.0 with: path: aws-otel-collector diff --git a/.github/workflows/canary.yml b/.github/workflows/canary.yml index 1e029d90c6..5ce6fc96b9 100644 --- a/.github/workflows/canary.yml +++ b/.github/workflows/canary.yml @@ -30,7 +30,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out testing framework - uses: actions/checkout@v2 + uses: actions/checkout@v3.1.0 with: repository: 'aws-observability/aws-otel-test-framework' path: testing-framework @@ -55,7 +55,7 @@ jobs: outputs: canary_matrix: ${{ steps.get-test-cases.outputs.canary_matrix }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3.1.0 - name: Setup Python uses: actions/setup-python@v2.3.2 @@ -73,7 +73,7 @@ jobs: matrix: ${{ fromJson(needs.get-canary-test-cases.outputs.canary_matrix) }} fail-fast: false steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3.1.0 - name: Configure AWS Credentials uses: aws-actions/configure-aws-credentials@v1 @@ -94,7 +94,7 @@ jobs: terraform_version: 0.14.10 - name: Check out testing framework - uses: actions/checkout@v2 + uses: actions/checkout@v3.1.0 with: repository: 'aws-observability/aws-otel-collector-test-framework' path: testing-framework diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index ca82d7d60c..82fd721c11 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -28,7 +28,7 @@ jobs: analyze: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3.1.0 - name: Initialize CodeQL uses: github/codeql-action/init@v1 diff --git a/.github/workflows/perf.yml b/.github/workflows/perf.yml index 57ab5d21f3..a89ba1a58c 100644 --- a/.github/workflows/perf.yml +++ b/.github/workflows/perf.yml @@ -37,7 +37,7 @@ jobs: testing_version: ${{ steps.get-testing-version.outputs.testing_version }} commit_id: ${{ steps.get-testing-version.outputs.commit_id }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3.1.0 with: fetch-depth: 0 @@ -85,7 +85,7 @@ jobs: outputs: perf_matrix: ${{ steps.get-test-cases.outputs.perf_matrix }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3.1.0 - name: Setup Python uses: actions/setup-python@v2.3.2 @@ -103,7 +103,7 @@ jobs: matrix: ${{ fromJson(needs.get-perf-test-cases.outputs.perf_matrix) }} max-parallel: 10 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3.1.0 - name: Configure AWS Credentials uses: aws-actions/configure-aws-credentials@v1 @@ -122,7 +122,7 @@ jobs: uses: hashicorp/setup-terraform@v1 - name: Check out testing framework - uses: actions/checkout@v2 + uses: actions/checkout@v3.1.0 with: repository: 'aws-observability/aws-otel-collector-test-framework' path: testing-framework @@ -147,7 +147,7 @@ jobs: runs-on: ubuntu-latest needs: [get-testing-version, run-perf-test] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3.1.0 - name: Setup Python uses: actions/setup-python@v2.3.2 diff --git a/.github/workflows/ssm-release.yml b/.github/workflows/ssm-release.yml index f8092c0ffc..95717b3c9a 100644 --- a/.github/workflows/ssm-release.yml +++ b/.github/workflows/ssm-release.yml @@ -45,7 +45,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout the sha - uses: actions/checkout@v2 + uses: actions/checkout@v3.1.0 with: ref: ${{ github.event.inputs.sha }} diff --git a/.github/workflows/sync-docs.yml b/.github/workflows/sync-docs.yml index 6676d085b1..a7a695290e 100644 --- a/.github/workflows/sync-docs.yml +++ b/.github/workflows/sync-docs.yml @@ -30,7 +30,7 @@ jobs: update-gh-pages-docs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3.1.0 with: fetch-depth: 0 - name: Commit docs to gh-pages branch diff --git a/.github/workflows/weekly-resources-clean.yml b/.github/workflows/weekly-resources-clean.yml index afbfb0e96d..a57f4fa4c0 100644 --- a/.github/workflows/weekly-resources-clean.yml +++ b/.github/workflows/weekly-resources-clean.yml @@ -35,7 +35,7 @@ jobs: matrix: resource: [autoscaling, ec2, ecs, efs, iam, launchconfig, loadbalancer] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3.1.0 - name: Configure AWS Credentials uses: aws-actions/configure-aws-credentials@v1