diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..18f5a1a --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,25 @@ +name: Comment diffs +on: + pull_request: + branches: + - main + +jobs: + comment-diffs: + name: comment diffs + runs-on: ubuntu-latest + steps: + - uses: infro-io/comment-diffs-action@1a0adf3f274e86c1f3705bcc05159d6b9963a471 + 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 }} \ No newline at end of file