diff --git a/.github/workflows/add-backport-label.yaml b/.github/workflows/add-backport-label.yaml index 5774bb8059..3df518b54f 100644 --- a/.github/workflows/add-backport-label.yaml +++ b/.github/workflows/add-backport-label.yaml @@ -62,15 +62,15 @@ jobs: has_backport_needed_label=${{ contains(github.event.pull_request.labels.*.name, 'needs-backport') }} has_no_backport_needed_label=${{ contains(github.event.pull_request.labels.*.name, 'no-backport-needed') }} - echo "::set-output name=add_backport_label::false" + echo "add_backport_label=false" >> $GITHUB_OUTPUT if [ $has_backport_needed_label = true ] || [ $has_bug = true ]; then if [[ $has_no_backport_needed_label = false ]]; then - echo "::set-output name=add_backport_label::true" + echo "add_backport_label=true" >> $GITHUB_OUTPUT fi fi # Do not spam comment, only if auto-backport label is going to be newly added. - echo "::set-output name=auto_backport_added::$CONTAINS_AUTO_BACKPORT" + echo "auto_backport_added=$CONTAINS_AUTO_BACKPORT" >> $GITHUB_OUTPUT - name: Add comment if: ${{ !contains(github.event.pull_request.labels.*.name, 'force-skip-ci') && steps.add_label.outputs.add_backport_label == 'true' && steps.add_label.outputs.auto_backport_added == 'false' }} @@ -97,4 +97,4 @@ jobs: uses: andymckay/labeler@e6c4322d0397f3240f0e7e30a33b5c5df2d39e90 with: add-labels: "auto-backport" - repo-token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + repo-token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/kata-deploy-test.yaml b/.github/workflows/kata-deploy-test.yaml index 5a924c7390..c19c7bb4ad 100644 --- a/.github/workflows/kata-deploy-test.yaml +++ b/.github/workflows/kata-deploy-test.yaml @@ -67,7 +67,7 @@ jobs: ref="refs/pull/${{ github.event.inputs.pr }}/merge" fi echo "reference for PR: " ${ref} "event:" ${{ github.event_name }} - echo "##[set-output name=pr-ref;]${ref}" + echo "pr-ref=${ref}" >> $GITHUB_OUTPUT - uses: actions/checkout@v2 with: ref: ${{ steps.get-PR-ref.outputs.pr-ref }} @@ -107,7 +107,7 @@ jobs: ref="refs/pull/${{ github.event.inputs.pr }}/merge" fi echo "reference for PR: " ${ref} "event:" ${{ github.event_name }} - echo "##[set-output name=pr-ref;]${ref}" + echo "pr-ref=${ref}" >> $GITHUB_OUTPUT - uses: actions/checkout@v2 with: ref: ${{ steps.get-PR-ref.outputs.pr-ref }} @@ -138,7 +138,7 @@ jobs: ref="refs/pull/${{ github.event.inputs.pr }}/merge" fi echo "reference for PR: " ${ref} "event:" ${{ github.event_name }} - echo "##[set-output name=pr-ref;]${ref}" + echo "pr-ref=${ref}" >> $GITHUB_OUTPUT - uses: actions/checkout@v2 with: ref: ${{ steps.get-PR-ref.outputs.pr-ref }} @@ -156,7 +156,7 @@ jobs: docker push quay.io/kata-containers/kata-deploy-ci:$PR_SHA mkdir -p packaging/kata-deploy ln -s $GITHUB_WORKSPACE/tools/packaging/kata-deploy/action packaging/kata-deploy/action - echo "::set-output name=PKG_SHA::${PR_SHA}" + echo "PKG_SHA=${PR_SHA}" >> $GITHUB_OUTPUT - name: test-kata-deploy-ci-in-aks uses: ./packaging/kata-deploy/action with: diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index bbb95c53da..dd48494f19 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -89,7 +89,7 @@ jobs: docker push quay.io/kata-containers/kata-deploy-ci:$pkg_sha mkdir -p packaging/kata-deploy ln -s $GITHUB_WORKSPACE/tools/packaging/kata-deploy/action packaging/kata-deploy/action - echo "::set-output name=PKG_SHA::${pkg_sha}" + echo "PKG_SHA=${pkg_sha}" >> $GITHUB_OUTPUT - name: test-kata-deploy-ci-in-aks uses: ./packaging/kata-deploy/action with: