danger / danger-js

⚠️ Stop saying "you forgot to …" in code review
http://danger.systems/js/
MIT License
5.29k stars 368 forks source link

Feature - Danger Id on the GH Action #1464

Open gtkatakura opened 2 months ago

gtkatakura commented 2 months ago

I am using danger to create an reusable workflow to do some common validations across multiple repositories. It works great. The problem is that some repositories already has the dangerfile configured and both the workflows (the reusable workflow and the specific workflow from the repository) are overriding the same comment. Would be nice to have the ability to pass the --id for the github action.

      - name: Run Danger
        uses: danger/danger-js@12.3.1
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        with:
          id: my-custom-id