Skip to content

Releases: ws2git/gh-assigner-action

Release v1

16 Aug 20:56

Choose a tag to compare

What’s New

  • Initial release of the Auto Assign PR Creator Action for GitHub Actions.
  • Automatically assigns the pull request creator as the assignee whenever a new PR is opened.
  • Operates using the GitHub CLI (gh) for secure and reliable assignment.
  • Accepts configurable inputs for the pull request URL and creator username.
  • Includes a ready-to-use composite action (action.yml) and shell script.
  • Comprehensive documentation with usage instructions and requirements.

Usage Example

- uses: ws2git/gh-assigner-action@v1  
  env:  
    GH_TOKEN: ${{ github.token }}  
  with:  
    pr_url: ${{ github.event.pull_request.html_url }}  
    pr_creator: ${{ github.event.pull_request.user.login }}  

Requirements

  • The GitHub CLI (gh) must be available in the runner environment (Ubuntu runners already include it).
  • The workflow must set the GH_TOKEN environment variable for authentication (use ${{ github.token }} by default).
  • The workflow/job must have pull-requests: write permission granted.
  • Organization settings must allow GitHub Actions to create and approve pull requests.

Thank you for using and sharing feedback to improve this action!