-
Notifications
You must be signed in to change notification settings - Fork 17
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(1769): [1] Add property to SCHEMA_HOOK #471
Merged
tkyi
merged 5 commits into
screwdriver-cd:master
from
sonic-screwdriver-cd:use-queueservice-for-webhook
Jan 3, 2022
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
0dd5e46
feat(1769): Add property to SCHEMA_HOOK
a6224a9
feat(1769): Change key of GET_CHANGED_FILES_INPUT
1a51ef9
feat(1769): Add property to SCHEMA_HOOK
ba2bc39
fix: lint
yoshwata 85abc4a
Merge branch 'master' into use-queueservice-for-webhook
kumada626 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# # Invalid SCM Hook addedFiles | ||
action: push | ||
branch: master | ||
checkoutUrl: git@github.com:screwdriver-cd/data-model.git#master | ||
hookId: 81e6bd80-9a2c-11e6-939d-beaa5d9adaf3 | ||
scmContext: github:github.com | ||
sha: ccc49349d3cffbd12ea9e3d41521480b4aa5de5f | ||
type: repo | ||
username: stjohnjohnson | ||
ref: reference | ||
commitAuthors: ['john1', 'john2'] | ||
addedFiles: 'README.md' | ||
modifiedFiles: ['README.md','package.json'] | ||
removedFiles: ['screwdriver.yaml'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# # Invalid SCM Hook modifiedFiles | ||
action: push | ||
branch: master | ||
checkoutUrl: git@github.com:screwdriver-cd/data-model.git#master | ||
hookId: 81e6bd80-9a2c-11e6-939d-beaa5d9adaf3 | ||
scmContext: github:github.com | ||
sha: ccc49349d3cffbd12ea9e3d41521480b4aa5de5f | ||
type: repo | ||
username: stjohnjohnson | ||
ref: reference | ||
commitAuthors: ['john1', 'john2'] | ||
addedFiles: ['README.md'] | ||
modifiedFiles: 'README.md' | ||
removedFiles: ['screwdriver.yaml'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# # Invalid SCM Hook removedFiles | ||
action: push | ||
branch: master | ||
checkoutUrl: git@github.com:screwdriver-cd/data-model.git#master | ||
hookId: 81e6bd80-9a2c-11e6-939d-beaa5d9adaf3 | ||
scmContext: github:github.com | ||
sha: ccc49349d3cffbd12ea9e3d41521480b4aa5de5f | ||
type: repo | ||
username: stjohnjohnson | ||
ref: reference | ||
commitAuthors: ['john1', 'john2'] | ||
addedFiles: ['README.md'] | ||
modifiedFiles: ['README.md','package.json'] | ||
removedFiles: 'screwdriver.yaml' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
deleted
is used in git command, so I think that it is better to usedeleted
instead ofremoved
.https://git-scm.com/docs/git-status#_output
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The GitHub and GitLab webhook specification treats deleted files as
removed
, so I think it's better to leave them asremoved
.https://docs.github.com/ja/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#push
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okey, I see. Thank you.