Skip to content
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.

Update actions/github-script action to v6 #5

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
echo "::set-output name=logfile::$(sed ':a;N;$!ba;s/\n/{newline}/g' < ${{ steps.lint.outputs.logfile }} )"

- name: Augment PR with yamllint infos
uses: actions/github-script@0.9.0
uses: actions/github-script@v6.3.3
if: steps.lint.outcome != 'success'
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -122,7 +122,7 @@ jobs:
echo "::set-output name=kubeval::$(sed ':a;N;$!ba;s/\n/{newline}/g' < kubeval.txt)"

- name: Augment PR with kubeval infos
uses: actions/github-script@0.9.0
uses: actions/github-script@v6.3.3
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
Expand Down Expand Up @@ -180,7 +180,7 @@ jobs:
terraform fmt -check

- name: Augment PR with terraform format infos
uses: actions/github-script@0.9.0
uses: actions/github-script@v6.3.3
if: steps.tffmt.outcome != 'success'
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -225,7 +225,7 @@ jobs:
echo "::set-output name=validate::$(sed ':a;N;$!ba;s/\n/{newline}/g' < terraform_fmt.txt)"

- name: Augment PR with terraform format infos
uses: actions/github-script@0.9.0
uses: actions/github-script@v6.3.3
if: steps.validate.outcome != 'success'
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -277,7 +277,7 @@ jobs:
continue-on-error: true

- name: Augment PR with terraform plan infos
uses: actions/github-script@0.9.0
uses: actions/github-script@v6.3.3
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
Expand Down