GithubHelp home page GithubHelp logo

github-actions's Issues

Remove a default `pr-comment` message from `communicate-on-pull-request-merged`

Currently there is a default pr-comment message for communicate-on-pull-request-merged Action:

pr-comment:
description: 'A comment to post on a pull request when code changes are merged'
default: "Thank you for your contribution to _fastlane_ and congrats on getting this pull request merged :tada:\n
The code change now lives in the `master` branch, however it wasn't released to [RubyGems](https://rubygems.org/gems/fastlane) yet.\n
We usually ship about once a week, and your PR will be included in the next one.\n\n
Please let us know if this change requires an immediate release by adding a comment here :+1:\n
We'll notify you once we shipped a new release with your changes :rocket:"

The message does not contain congrats for a pull request author. Below you will find an original message:

image

To avoid ambiguity, we should delete a default message from an Action and make it required instead.

The workflow file will look like this then:

name: Processing merged pull requests
on: 
  pull_request:
    types: [closed]

jobs:   
  communicate-on-pr-merged:
    name: Communicate on pr merged
    runs-on: ubuntu-latest    
    steps:
    - uses: actions/checkout@master
      with:
        ref: refs/heads/master
    - uses: fastlane/github-actions/communicate-on-pull-request-merged@latest
      with:
        repo-token: "${{ secrets.BOT_TOKEN }}"
        pr-comment: "Hey @${{ github.event.pull_request.user.login }} :wave:\nThank you for your contribution to _fastlane_ and congrats on..."

Add GitHub Action for marking a pull request as released

Issue Description

Add GitHub Action that will mark a pull request as released. The action should:

  • add a comment to the pull request about including the changes in a release
Congratulations! ๐ŸŽ‰ This was released as part of fastlane x.y.z ๐Ÿš€
  • add status: released label to the pull request and remove status: included-in-next-release label from it
  • add a comment to the referenced issue that the pull request has been released
The pull request #xxxxx that closed this issue was merged and released as part of fastlane x.y.z ๐Ÿš€
Please let us know if the functionality works as expected as a reply here. If it does not, please open a new issue. Thanks!

reference to the epic: #3.

Adds label ''status: included-in-next-release" by default

Hey guys,

It's weird this seems to the label status: included-in-next-release to my PR by default. How do I prevent that? (it's not applicable to me)

Details:

The PR:
benwinding/firecache#2
image

The run
https://github.com/benwinding/firecache/runs/593964258
Looks like this is where the defaults are added?
image

How can I stop that?

Thanks for open-sourcing your project, works really well ๐Ÿ‘Œ

Cheers,
Ben

Add GitHub Action for marking a PR as merged

Issue Description

Add GitHub Action that will mark a pull request as merged. The action should:

  • add a comment to a pull request saying thank you to a contributor for a contribution

image

  • add status: included-in-next-release label to the PR

reference to the epic: #3.

@fastlane-bot migration to GitHub Actions

Introduction

Based on the proposal, we would like to migrate to GitHub Actions. This will bring a bunch of improvements:

  • well tested and small, single job focused code (an action)
  • bot's reactiveness improvements (by using web hooks)
  • easier contribution
  • no need for running a dedicated server for a bot
  • there are plenty of actions ready to be used in production, i.e. stale
  • switching the mindset from fastlane bot code to reusable and useful for others
  • bot's icon and messages improvements
  • documentation

GitHub Actions to be implemented and activated

We will need to implement the following actions:

Anyone is more than welcome to help ๐Ÿ™Œ Please open a new issue for an action you'd like to implement and link it to this very issue.

Update README file

Update the README file:

  • an introduction about what the repository is;
  • the development workflow: step by step instruction to create a new GitHub Action in this repository, the release process, the branching model;
  • the list of the actions available in this repository.

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.