Skip to content

Commit

Permalink
Merge f211bb6 into edb2633
Browse files Browse the repository at this point in the history
  • Loading branch information
nakamasato authored Jan 26, 2024
2 parents edb2633 + f211bb6 commit 1582e69
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 12 deletions.
26 changes: 14 additions & 12 deletions .github/workflows/github-comment.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# https://zenn.dev/shunsuke_suzuki/articles/improve-cicd-with-github-comment
name: github-comment

on: pull_request
Expand All @@ -6,19 +7,20 @@ jobs:
comment:
runs-on: ubuntu-latest
steps:
- name: Set up github-comment
id: github-comment
- uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3
- uses: aquaproj/aqua-installer@928a2ee4243a9ee8312d80dc8cbaca88fb602a91 # v2.2.0
with:
aqua_version: v2.17.0

- run: github-comment hide
env:
GHCMT_VERSION: 4.1.0
run: |
cmdDir="${{ runner.tool_cache }}/github-comment/${GHCMT_VERSION}"
if [[ ! -x "${cmdDir}/github-comment" ]]; then
mkdir -p "${cmdDir}"
cd "${{ runner.temp }}"
curl -fLO "https://github.com/suzuki-shunsuke/github-comment/releases/download/v${GHCMT_VERSION}/github-comment_${GHCMT_VERSION}_linux_amd64.tar.gz"
tar -C "${cmdDir}" -xzf "github-comment_${GHCMT_VERSION}_linux_amd64.tar.gz"
fi
echo "${cmdDir}" >> "$GITHUB_PATH"
GITHUB_TOKEN: ${{ github.token }}

- uses: ./
with:
path: examples/invalid-envoy.yaml
image: envoyproxy/envoy-alpine:v1.20.1

- name: Check github-comment
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
13 changes: 13 additions & 0 deletions aqua.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
# aqua - Declarative CLI Version Manager
# https://aquaproj.github.io/
# checksum:
# enabled: true
# require_checksum: true
# supported_envs:
# - all
registries:
- type: standard
ref: v4.124.0 # renovate: depName=aquaproj/aqua-registry
packages:
- name: suzuki-shunsuke/[email protected]

0 comments on commit 1582e69

Please sign in to comment.