Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

A github action which create or update a unique comment in the same issue or pull request.

Notifications You must be signed in to change notification settings

taoliujun/action-unique-comment

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace
Open more actions menu

Repository files navigation

taoliujun/action-unique-comment

This unique comment Action creates or updates a unique comment in the same issue.

pull request is also a specific issue.

Action Name

taoliujun/action-unique-comment

taoliujun/action-unique-comment@v1 means use the major version tag "v1", which will be automatically updated with features and bug fixes.

taoliujun/action-unique-comment@v1.0.0 means use the fixed version tag "v1.0.0", which will not be automatically updated.

Usage

name: test unique comment
on:
    pull_request:
        types: [opened, synchronize, reopened]
jobs:
  test1:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v4

      - name: Create or update a comment
        uses: taoliujun/action-unique-comment@v1
        with:
            uniqueIdentifier: ${{ github.workflow }}
            body: |
                hello world.

Inputs

name type requirement description default
token string optional github token ${{ github.token }}
owner string optional github repository owner ${{ github.event.repository.owner.login }}
repo string optional github repository name ${{ github.event.repository.name }}
issue_number string optional github issue number ${{ github.event.number }}
uniqueIdentifier string optional unique identifier for the comment "unique-comment"
body string optional comment body -

About

A github action which create or update a unique comment in the same issue or pull request.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  
Morty Proxy This is a proxified and sanitized view of the page, visit original site.