Comments (5)
We are experiencing the same issue. We use cdk-notifier
during Circle CI build.
!/bin/bash -eo pipefail
if [[ -n "$CIRCLE_PULL_REQUEST" ]]; then
curl -L "https://github.com/karlderkaefer/cdk-notifier/releases/latest/download/cdk-notifier_$(uname)_amd64.gz" -o cdk-notifier.gz
gunzip cdk-notifier.gz && chmod +x cdk-notifier && rm -rf cdk-notifier.gz
sudo mv cdk-notifier /usr/local/bin/cdk-notifier
cdk-notifier --version
cdk-notifier -t $PR_COMMENT_TAG -l $CDK_LOG_FILE
fi
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 8262k 100 8262k 0 0 40.1M 0 --:--:-- --:--:-- --:--:-- 118M
^@^@cdk-notifier version 2.4.2
FATA[0000] GET https://api.github.com/repos/<ORG>/<REPO>/issues/51/comments?per_page=100: 404 Not Found []
Exited with code exit status 1
CircleCI received exit code 1
from cdk-notifier.
Apologies, above was my issue. I supplied an incorrect Github token that did not have access to the correct repository.
from cdk-notifier.
thanks for report, sorry the delayed answer, somehow I do not get notified on new issues. I was not able to reproduce it locally. However github treats pull requests as a special kind of issue, and the Issues API endpoint is used for actions on both issues and pull requests. From what I have read, issues can not have the same id as the pull request in stackoverflow So it's more likely that you somehow used the issue id instead of pr id. So github will redirect to either /issues
or /pulls
depending on the id. can you try a test from your machine?
export REPO_NAME=your-repo
export REPO_OWNER=your-owner
export PR_ID=71
export GITHUB_TOKEN=***
cdk-notifier -l data/cdk-diff1.log --tag-id small
anyhow I will double-check if there are any API changes and also gonna update github client #71
from cdk-notifier.
@matthias-pichler-shopstory can you describe how you get the --pull-request-id
? in github actions there are several ways to get the pull request id
from cdk-notifier.
PR #98 was merged closing this issue, I could not reproduce. please make sure the PR ID can be found and is valid. Feel free to open reopen the issue and provide more details, from my understanding it is not possible that a PR can have same ID as an Github Issue
from cdk-notifier.
Related Issues (20)
- Dependency Dashboard
- Bitbucket Support HOT 3
- Gitlab support HOT 9
- Suggestion/Issue IAM Statement Changes HOT 1
- [Enhancement] No CI system / local output option HOT 7
- Delete comments is not enabled by default HOT 1
- Pipeline is not building for forks HOT 1
- Include the IAM Stament Changes as part of the message posted to Github HOT 3
- Feature request: Include a <details> tag around the comment body so it's foldable HOT 5
- panic: runtime error HOT 3
- missing gc_lib on ubuntu 20 HOT 1
- Cannot comment on a bitbucket pull request HOT 9
- Bitbucket Workspace access token HOT 3
- add an overview section for number of differences and number of replaces HOT 1
- Supress service types in overview section HOT 6
- extend overview section with list of changed service types HOT 6
- add job link to header to open ci job logs HOT 1
- Arm64 docker image are not working, because they contain a x64 binary HOT 4
- cdk-notifier produces github url when CI configuration is for self hosted Gitlab HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cdk-notifier.