Giter Club home page Giter Club logo

release-follow-up-action's Introduction

Release follow up ๐Ÿ“

Follow up on issues and PRs after a release is published. The corresponding pending-release label will be removed if it's present and thereferenced-in-release label added.

The relevant issues are parsed from the release body (i.e. changelog/notes) and only recognized if present in the current repo (i.e. where the release is published).

  • Any issue linked in the release body with the pattern /<current-repo>/issues/<issue-number> will be matched. If the issue exists in the current repo, a comment will be added referencing the release link.

  • Issues and PRs are not closed, only commented on.

Inputs

Input Default Required Description
github-token true The GitHub token used to create an authenticated client
pending-release-label pending-release false Label to remove from referenced issues, if exists
referenced-in-release-label referenced-in-release false Label to add to referenced issues
dry-run false false Log proposed updates against referenced items instead of modifying resources

Usage

You can use the action by referencing the v1 branch:

name: release-follow-up
on:
  release:
    types: [published]

jobs:
  follow-up:
    runs-on: ubuntu-latest
    steps:
      - uses: siegerts/release-follow-up-action@v1
        with:
          github-token: ${{ secrets.GITHUB_TOKEN }}

Using dry-run

name: release-follow-up
on:
  release:
    types: [published]

jobs:
  follow-up:
    runs-on: ubuntu-latest
    steps:
      - uses: siegerts/release-follow-up-action@v1
        with:
          github-token: ${{ secrets.GITHUB_TOKEN }}
          dry-run: true

Output in the workflow run log

Run mode: dry-run
Issues referenced in the v1.0 release: 5
Updating issue #5...
--removing label <pending-release>
--adding label <referenced-in-release>
--adding comment of type issue for **v1.0** release

Using different labels

name: release-follow-up
on:
  release:
    types: [published]

jobs:
  follow-up:
    runs-on: ubuntu-latest
    steps:
      - uses: siegerts/release-follow-up-action@v1
        with:
          github-token: ${{ secrets.GITHUB_TOKEN }}
          pending-release-label: to-be-released
          referenced-in-release-label: already-released

release-follow-up-action's People

Contributors

dependabot[bot] avatar siegerts avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

release-follow-up-action's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.