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

Comment on transferred issues does not appear to be working #17

Open
t-eckert opened this issue Feb 24, 2022 · 1 comment
Open

Comment on transferred issues does not appear to be working #17

t-eckert opened this issue Feb 24, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@t-eckert
Copy link

Expected Behavior

I set up a GitHub action to comment on issues which were transferred to the repository. When an issue is transferred, it should comment on the issue with a request for more context.

Current Behavior

The action is triggered, but the comment is never posted. The action succeeds.

Possible Solution

I may have implemented the action incorrectly. Here is the implementation:

name: Issue Context Bot

on: [issues]

jobs:
  add-context:
    runs-on: ubuntu-latest
    steps:
    - uses: wow-actions/auto-comment@v1.0.7
      with:
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        issuesTransferred: |
          "Hi @{{ author }},
          
          It looks like your issue has been transferred to the Consul on Kubernetes repository.
          If your issue is a question or bug report, there is some additional context that will
          help us solve your issue. Please reply with the following information if it is not
          included in your original issue:
          
          - the [Helm values](https://www.consul.io/docs/k8s/helm) you used to install Consul
          on Kubernetes
          - the version of Consul on Kubernetes used
          - the version of Kubernetes you are using
          - if you installed Consul on Kubernetes using Helm or the Consul-K8s CLI"

Steps To Reproduce

Here is an example of an issue which was transferred to the repository yet did not get the comment added: hashicorp/consul-k8s#1054

@t-eckert t-eckert added the bug Something isn't working label Feb 24, 2022
@github-actions
Copy link

👋 @t-eckert
Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible.
Please make sure you have given us as much context as possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant