GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - quizlet/argocd-diff-action: This GitHub action generates an ArgoCD diff between the current PR and the current state of the cluster.

This repository was archived by the owner on Nov 24, 2025. It is now read-only.
BranchesTags
Open more actions menu

Latest commit

 

History

98 Commits
98 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
.vscode
.vscode
 
 
__tests__
__tests__
 
 
dist
dist
 
 
misc
misc
 
 
src
src
 
 
.env.example
.env.example
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
.prettierignore
.prettierignore
 
 
.prettierrc.json
.prettierrc.json
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
action.yml
action.yml
 
 
eslint.config.mjs
eslint.config.mjs
 
 
jest.config.js
jest.config.js
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
tsconfig.json
tsconfig.json
 
 

Repository files navigation

ArgoCD Diff GitHub Action

This project is no longer supported.

IMPORTANT NOTE: As of 2025, this action has been deprecated and is no longer being actively maintained. Please see https://github.com/argocd-diff-action/argocd-diff-action for a popular and actively maintained fork of this action.

This action generates a diff between the current PR and the current state of the cluster.

Note that this includes any changes between your branch and latest master, as well as ways in which the cluster is out of sync.

Usage

Example GH action:

name: ArgoCD Diff

on:
  pull_request:
    branches: [master, main]

jobs:
  argocd-diff:
    name: Generate ArgoCD Diff
    runs-on: ubuntu-latest
    steps:

      - name: Checkout repo
        uses: actions/checkout@v4

      - uses: quizlet/argocd-diff-action@master
        name: ArgoCD Diff
        with:
          argocd-server-url: argocd.example.com
          argocd-token: ${{ secrets.ARGOCD_TOKEN }}
          github-token: ${{ secrets.GITHUB_TOKEN }}
          argocd-version: v1.6.1
          argocd-extra-cli-args: --grpc-web # optional
          app-name-matcher: "/^myapp-/" # optional
          plaintext: true # optional
          environment: myenv # optional

How it works

  1. Downloads the specified version of the ArgoCD binary, and makes it executable
  2. Connects to the ArgoCD API using the argocd-token, and gets all the apps
  3. Filters the apps to the ones that live in the current repo
  4. Runs argocd app diff for each app
  5. Posts the diff output as a comment on the PR

Publishing

Build the script and commit to your branch: npm run build && npm run pack Commit the build output, and make a PR.

About

This GitHub action generates an ArgoCD diff between the current PR and the current state of the cluster.

Resources

Readme
MIT license
Activity
Custom properties

Stars

41 stars

Watchers

8 watching

Forks

27 forks
Report repository

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.