Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add non-mentioning links option #370

Merged
merged 1 commit into from
Sep 19, 2024

Conversation

willcl-ark
Copy link
Contributor

@willcl-ark willcl-ark commented Sep 17, 2024

Pull Request

Adds a new env var which allows you to specify non-mentioning links to the issues.

Non-mentioning links are possible using this workaround

Proposed Changes

The links still work as before, but they do not cause a notification in the desitnation repository, which helps reduce "spam" there.

Readiness Checklist

Author/Contributor

  • If documentation is needed for this change, has that been included in this pull request
  • run make lint and fix any issues that you have introduced
  • run make test and ensure you have test coverage for the lines you are introducing
  • If publishing new data to the public (scorecards, security scan results, code quality results, live dashboards, etc.), please request review from @jeffrey-luszcz

Reviewer

  • Label as either fix, documentation, enhancement, infrastructure, maintenance, or breaking

@willcl-ark
Copy link
Contributor Author

Kindly requesting review from @Jeffrey-Luszcz as instructed :)

Copy link
Member

@jmeridth jmeridth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

code suggestion to fix linting error

also, TIL by prefixing with www it won't autolink.

markdown_writer.py Outdated Show resolved Hide resolved
@jmeridth jmeridth merged commit 2c95dd3 into github:main Sep 19, 2024
6 checks passed
jmeridth added a commit that referenced this pull request Sep 19, 2024
Closes #160

- [x] Adds the ability for users to designate custom report title and output files.
  - Defaults for each:
    - REPORT_TITLE: "Issue Metrics"
    - OUTPUT_FILE: "issue_metrics.md" if markdown and "issue_metrics.json" if json
- [x] Update `.env-example` and include changes there and in docs we forgot in #370

Signed-off-by: jmeridth <jmeridth@gmail.com>
Co-authored-by: Sebastian Spier <github@spier.hu>
Co-authored-by: Zack Koppert <zkoppert@github.com>
jmeridth added a commit that referenced this pull request Sep 19, 2024
Closes #160

- [x] Adds the ability for users to designate custom report title and output files.
  - Defaults for each:
    - REPORT_TITLE: "Issue Metrics"
    - OUTPUT_FILE: "issue_metrics.md" if markdown and "issue_metrics.json" if json
- [x] Update `.env-example` and include changes there and in docs we forgot in #370

Signed-off-by: jmeridth <jmeridth@gmail.com>
Co-authored-by: Sebastian Spier <github@spier.hu>
Co-authored-by: Zack Koppert <zkoppert@github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants