Skip to content

chore: add comment diffs action #15

chore: add comment diffs action

chore: add comment diffs action #15

Workflow file for this run

name: Comment diffs
on:
pull_request:
branches:
- main
jobs:
# comment-diffs:
# name: comment diffs
# runs-on: ubuntu-latest
# permissions:
# issues: write
# pull-requests: write
# steps:
# - uses: infro-io/comment-diffs-action@36839e9aa005a342d2e57517d5ad86ae06d412d4
# with:
# repo: ${{ github.repository }}
# revision: ${{ github.sha }}
# pull-number: ${{ github.event.number }}
# config: |
# deployers:
# - type: argocd
# name: my-argo-cluster
# endpoint: ${{ secrets.ARGOCD_ENDPOINT }}
# authtoken: ${{ secrets.ARGOCD_TOKEN }}
# vcs:
# type: github
# authtoken: ${{ secrets.GITHUB_TOKEN }}
comment-diffs:
runs-on: ubuntu-latest
steps:
- name: comment diffs
uses: docker://infrolabs/infro-core
with:
args: |
--repo ${{ github.repository }} \
--revision ${{ github.sha }} \
--pull-number ${{ github.event.number }} \
--config '
deployers:
- type: argocd
name: my-argo-cluster
endpoint: ${{ secrets.ARGOCD_ENDPOINT }}
authtoken: ${{ secrets.ARGOCD_TOKEN }}
vcs:
type: github
authtoken: ${{ secrets.GITHUB_TOKEN }}
'