Skip to content

docs: rename gh action #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
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
24 changes: 24 additions & 0 deletions .github/workflows/test_ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
name: Test CI

on:
pull_request:
paths: [.github/workflows/test_ci.yaml, action.yml]

jobs:
ci:
runs-on: ubuntu-24.04

permissions:
contents: read # Required to checkout repository.

steps:
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 0
persist-credentials: false

- name: Changed diff-tree
id: changed
uses: ./
24 changes: 13 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
[![GitHub license](https://img.shields.io/github/license/op5dev/diff-tree?logo=apache&label=License)](LICENSE "Apache License 2.0.")
[![GitHub release tag](https://img.shields.io/github/v/release/op5dev/diff-tree?logo=semanticrelease&label=Release)](https://github.com/op5dev/diff-tree/releases "View all releases.")
[![GitHub license](https://img.shields.io/github/license/op5dev/changed-diff-tree?logo=apache&label=License)](LICENSE "Apache License 2.0.")
[![GitHub release tag](https://img.shields.io/github/v/release/op5dev/changed-diff-tree?logo=semanticrelease&label=Release)](https://github.com/op5dev/changed-diff-tree/releases "View all releases.")
*
[![GitHub repository stargazers](https://img.shields.io/github/stars/op5dev/diff-tree)](https://github.com/op5dev/diff-tree "Become a stargazer.")
[![GitHub repository stargazers](https://img.shields.io/github/stars/op5dev/changed-diff-tree)](https://github.com/op5dev/changed-diff-tree "Become a stargazer.")

# Diff-Tree
# Changed Diff-Tree ±

Git diff-tree for a list of changed files or directories between commits for GitHub Action event triggers.
Changed diff-tree for a list of changed files or directories between branches with GitHub Action event triggers

TODO: https://github.com/orgs/community/discussions/25950

## Parameters

Expand Down Expand Up @@ -33,21 +35,21 @@ View [security policy and reporting instructions](SECURITY.md).

## Changelog

View [all notable changes](https://github.com/op5dev/diff-tree/releases "Releases.") to this project in [Keep a Changelog](https://keepachangelog.com "Keep a Changelog.") format, which adheres to [Semantic Versioning](https://semver.org "Semantic Versioning.").
View [all notable changes](https://github.com/op5dev/changed-diff-tree/releases "Releases.") to this project in [Keep a Changelog](https://keepachangelog.com "Keep a Changelog.") format, which adheres to [Semantic Versioning](https://semver.org "Semantic Versioning.").

> [!TIP]
>
> All forms of **contribution are very welcome** and deeply appreciated for fostering open-source projects.
>
> - [Create a PR](https://github.com/op5dev/diff-tree/pulls "Create a pull request.") to contribute changes you'd like to see.
> - [Raise an issue](https://github.com/op5dev/diff-tree/issues "Raise an issue.") to propose changes or report unexpected behavior.
> - [Open a discussion](https://github.com/op5dev/diff-tree/discussions "Open a discussion.") to discuss broader topics or questions.
> - [Become a stargazer](https://github.com/op5dev/diff-tree/stargazers "Become a stargazer.") if you find this project useful.
> - [Create a PR](https://github.com/op5dev/changed-diff-tree/pulls "Create a pull request.") to contribute changes you'd like to see.
> - [Raise an issue](https://github.com/op5dev/changed-diff-tree/issues "Raise an issue.") to propose changes or report unexpected behavior.
> - [Open a discussion](https://github.com/op5dev/changed-diff-tree/discussions "Open a discussion.") to discuss broader topics or questions.
> - [Become a stargazer](https://github.com/op5dev/changed-diff-tree/stargazers "Become a stargazer.") if you find this project useful.

</br>

## License

- This project is licensed under the permissive [Apache License 2.0](LICENSE "Apache License 2.0.").
- All works herein are my own, shared of my own volition, and [contributors](https://github.com/op5dev/diff-tree/graphs/contributors "Contributors.").
- All works herein are my own, shared of my own volition, and [contributors](https://github.com/op5dev/changed-diff-tree/graphs/contributors "Contributors.").
- Copyright 2016-present [Rishav Dhar](https://github.com/rdhar "Rishav Dhar's GitHub profile.") — All wrongs reserved.
2 changes: 1 addition & 1 deletion SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ Integrating security in your CI/CD pipeline is critical to practicing DevSecOps.

## Reporting a Vulnerability

You must never report security related issues, vulnerabilities or bugs including sensitive information to the issue tracker, or elsewhere in public. Instead, sensitive bugs must be sent by email to <[email protected]> or reported via [Security Advisory](https://github.com/op5dev/diff-tree/security/advisories/new "Create a new security advisory.").
You must never report security related issues, vulnerabilities or bugs including sensitive information to the issue tracker, or elsewhere in public. Instead, sensitive bugs must be sent by email to <[email protected]> or reported via [Security Advisory](https://github.com/op5dev/changed-diff-tree/security/advisories/new "Create a new security advisory.").
23 changes: 18 additions & 5 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
name: Git Diff-Tree for Changed Files or Directories
name: Changed Diff-Tree for Files or Directories
author: Rishav Dhar (@rdhar)
description: Git diff-tree for a list of changed files or directories between commits for GitHub Action event triggers.
description: Changed diff-tree for a list of changed files or directories between branches with GitHub Action event triggers.

runs:
using: composite
Expand All @@ -28,10 +28,23 @@ outputs:
value: placeholder

inputs:
source_ref:
default: ""
description: "Source branch or commit SHA to compare from."
required: false
target_ref:
default: ""
description: "Target branch or commit SHA to compare against."
required: false
format:
default: "raw"
description: "Format output as: 'raw', 'json', or 'matrix'."
required: false
token:
required: true
default: ${{ github.token }}
description: "GitHub access token with 'read:org' scope (e.g., secrets.CI_PAT)."
required: true

branding:
color: green
icon: user-check
color: gray-dark
icon: file-plus