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

chore: prefix #907

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Original file line number Diff line number Diff line change
Expand Up @@ -807,6 +807,26 @@
"token": "${BITBUCKET_PAT}"
}
},
{
"//": "allow webhooks to be fetched",
"method": "GET",
"path": "/rest/api/1.0/projects/:project/repos/:repo/webhooks/:webhookId",
"origin": "https://${BITBUCKET}",
"auth": {
"scheme": "bearer",
"token": "${BITBUCKET_PAT}"
}
},
{
"//": "allow webhooks to be updated",
"method": "PUT",
"path": "/rest/api/1.0/projects/:project/repos/:repo/webhooks/:webhookId",
"origin": "https://${BITBUCKET}",
"auth": {
"scheme": "bearer",
"token": "${BITBUCKET_PAT}"
}
},
{
"//": "used to create commit status messages",
"method": "POST",
Expand Down
22 changes: 22 additions & 0 deletions client-templates/bitbucket-server/accept.json.sample
Original file line number Diff line number Diff line change
Expand Up @@ -887,6 +887,28 @@
"password": "${BITBUCKET_PASSWORD}"
}
},
{
"//": "allow webhooks to be fetched",
"method": "GET",
"path": "/rest/api/1.0/projects/:project/repos/:repo/webhooks/:webhookId",
"origin": "https://${BITBUCKET}",
"auth": {
"scheme": "basic",
"username": "${BITBUCKET_USERNAME}",
"password": "${BITBUCKET_PASSWORD}"
}
},
{
"//": "allow webhooks to be updated",
"method": "PUT",
"path": "/rest/api/1.0/projects/:project/repos/:repo/webhooks/:webhookId",
"origin": "https://${BITBUCKET}",
"auth": {
"scheme": "basic",
"username": "${BITBUCKET_USERNAME}",
"password": "${BITBUCKET_PASSWORD}"
}
},
{
"//": "used to create commit status messages",
"method": "POST",
Expand Down
12 changes: 12 additions & 0 deletions client-templates/gitlab/accept.json.sample
Original file line number Diff line number Diff line change
Expand Up @@ -1498,6 +1498,18 @@
"path": "/api/v4/projects/:project/hooks/:id",
"origin": "https://${GITLAB}"
},
{
"//": "allow webhooks to be updated",
"method": "PUT",
"path": "/api/v4/projects/:project/hooks/:id",
"origin": "https://${GITLAB}"
},
{
"//": "allow webhooks to be fetched, used to facilitate patch upgrades",
"method": "GET",
"path": "/api/v4/projects/:project/hooks/:id",
"origin": "https://${GITLAB}"
},
{
"//": "used to create commit status messages",
"method": "POST",
Expand Down
20 changes: 20 additions & 0 deletions defaultFilters/bitbucket-server-bearer-auth.json
Original file line number Diff line number Diff line change
Expand Up @@ -807,6 +807,26 @@
"token": "${BITBUCKET_PAT}"
}
},
{
"//": "allow webhooks to be fetched",
"method": "GET",
"path": "/rest/api/1.0/projects/:project/repos/:repo/webhooks/:webhookId",
"origin": "https://${BITBUCKET}",
"auth": {
"scheme": "bearer",
"token": "${BITBUCKET_PAT}"
}
},
{
"//": "allow webhooks to be updated",
"method": "PUT",
"path": "/rest/api/1.0/projects/:project/repos/:repo/webhooks/:webhookId",
"origin": "https://${BITBUCKET}",
"auth": {
"scheme": "bearer",
"token": "${BITBUCKET_PAT}"
}
},
{
"//": "used to create commit status messages",
"method": "POST",
Expand Down
22 changes: 22 additions & 0 deletions defaultFilters/bitbucket-server.json
Original file line number Diff line number Diff line change
Expand Up @@ -887,6 +887,28 @@
"password": "${BITBUCKET_PASSWORD}"
}
},
{
"//": "allow webhooks to be fetched",
"method": "GET",
"path": "/rest/api/1.0/projects/:project/repos/:repo/webhooks/:webhookId",
"origin": "https://${BITBUCKET}",
"auth": {
"scheme": "basic",
"username": "${BITBUCKET_USERNAME}",
"password": "${BITBUCKET_PASSWORD}"
}
},
{
"//": "allow webhooks to be updated",
"method": "PUT",
"path": "/rest/api/1.0/projects/:project/repos/:repo/webhooks/:webhookId",
"origin": "https://${BITBUCKET}",
"auth": {
"scheme": "basic",
"username": "${BITBUCKET_USERNAME}",
"password": "${BITBUCKET_PASSWORD}"
}
},
{
"//": "used to create commit status messages",
"method": "POST",
Expand Down
12 changes: 12 additions & 0 deletions defaultFilters/gitlab.json
Original file line number Diff line number Diff line change
Expand Up @@ -1498,6 +1498,18 @@
"path": "/api/v4/projects/:project/hooks/:id",
"origin": "https://${GITLAB}"
},
{
"//": "allow webhooks to be updated",
"method": "PUT",
"path": "/api/v4/projects/:project/hooks/:id",
"origin": "https://${GITLAB}"
},
{
"//": "allow webhooks to be fetched, used to facilitate patch upgrades",
"method": "GET",
"path": "/api/v4/projects/:project/hooks/:id",
"origin": "https://${GITLAB}"
},
{
"//": "used to create commit status messages",
"method": "POST",
Expand Down
Loading