-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
Provide correct SHA for GitHub actions (#67) #69
Merged
Merged
Conversation
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
Their most recently public accepted PR is: hiptest/ember-easy-datatable#65 |
FYI, the event file pointed to by {
"action": "synchronize",
"after": "3738117e3337e54955580f4e98cf767d96b42135",
"before": "06aa815724888e86f37e41e43e07b0ec1bb0ffe1",
"enterprise": {
"avatar_url": "https://avatars.githubusercontent.com/b/73?v=4",
"created_at": "2019-03-28T18:50:55Z",
"description": null,
"html_url": "https://github.com/enterprises/smartbear",
"id": 73,
"name": "SmartBear",
"node_id": "MDEwOkVudGVycHJpc2U3Mw==",
"slug": "smartbear",
"updated_at": "2022-01-26T22:48:12Z",
"website_url": null
},
"number": 3,
"organization": {
"avatar_url": "https://avatars.githubusercontent.com/u/1644671?v=4",
"description": "Think Bigger. Build Smarter.",
"events_url": "https://api.github.com/orgs/SmartBear/events",
"hooks_url": "https://api.github.com/orgs/SmartBear/hooks",
"id": 1644671,
"issues_url": "https://api.github.com/orgs/SmartBear/issues",
"login": "SmartBear",
"members_url": "https://api.github.com/orgs/SmartBear/members{/member}",
"node_id": "MDEyOk9yZ2FuaXphdGlvbjE2NDQ2NzE=",
"public_members_url": "https://api.github.com/orgs/SmartBear/public_members{/member}",
"repos_url": "https://api.github.com/orgs/SmartBear/repos",
"url": "https://api.github.com/orgs/SmartBear"
},
"pull_request": {
"_links": {
"comments": {
"href": "https://api.github.com/repos/SmartBear/cucumber-expressions/issues/3/comments"
},
"commits": {
"href": "https://api.github.com/repos/SmartBear/cucumber-expressions/pulls/3/commits"
},
"html": {
"href": "https://github.com/SmartBear/cucumber-expressions/pull/3"
},
"issue": {
"href": "https://api.github.com/repos/SmartBear/cucumber-expressions/issues/3"
},
"review_comment": {
"href": "https://api.github.com/repos/SmartBear/cucumber-expressions/pulls/comments{/number}"
"merges_url": "https://api.github.com/repos/SmartBear/cucumber-expressions/merges",
"milestones_url": "https://api.github.com/repos/SmartBear/cucumber-expressions/milestones{/number}",
"mirror_url": null,
"name": "cucumber-expressions",
"node_id": "R_kgDOGu4vqA",
"notifications_url": "https://api.github.com/repos/SmartBear/cucumber-expressions/notifications{?since,all,participating}",
"open_issues": 2,
"open_issues_count": 2,
"owner": {
"avatar_url": "https://avatars.githubusercontent.com/u/1644671?v=4",
"events_url": "https://api.github.com/users/SmartBear/events{/privacy}",
"followers_url": "https://api.github.com/users/SmartBear/followers",
"following_url": "https://api.github.com/users/SmartBear/following{/other_user}",
"gists_url": "https://api.github.com/users/SmartBear/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/SmartBear",
"id": 1644671,
"login": "SmartBear",
"node_id": "MDEyOk9yZ2FuaXphdGlvbjE2NDQ2NzE=",
"organizations_url": "https://api.github.com/users/SmartBear/orgs",
"received_events_url": "https://api.github.com/users/SmartBear/received_events",
"repos_url": "https://api.github.com/users/SmartBear/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/SmartBear/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SmartBear/subscriptions",
"type": "Organization",
"url": "https://api.github.com/users/SmartBear"
},
"private": true,
"pulls_url": "https://api.github.com/repos/SmartBear/cucumber-expressions/pulls{/number}",
"pushed_at": "2022-02-01T09:22:19Z",
"releases_url": "https://api.github.com/repos/SmartBear/cucumber-expressions/releases{/id}",
"size": 5235,
"ssh_url": "[email protected]:SmartBear/cucumber-expressions.git",
"stargazers_count": 0,
"stargazers_url": "https://api.github.com/repos/SmartBear/cucumber-expressions/stargazers",
"statuses_url": "https://api.github.com/repos/SmartBear/cucumber-expressions/statuses/{sha}",
"subscribers_url": "https://api.github.com/repos/SmartBear/cucumber-expressions/subscribers",
"subscription_url": "https://api.github.com/repos/SmartBear/cucumber-expressions/subscription",
"svn_url": "https://github.com/SmartBear/cucumber-expressions",
"tags_url": "https://api.github.com/repos/SmartBear/cucumber-expressions/tags",
"teams_url": "https://api.github.com/repos/SmartBear/cucumber-expressions/teams",
"topics": [],
"trees_url": "https://api.github.com/repos/SmartBear/cucumber-expressions/git/trees{/sha}",
"updated_at": "2022-01-25T13:34:50Z",
"url": "https://api.github.com/repos/SmartBear/cucumber-expressions",
"visibility": "internal",
"watchers": 0,
"watchers_count": 0
},
"sender": {
"avatar_url": "https://avatars.githubusercontent.com/u/1000?v=4",
"events_url": "https://api.github.com/users/aslakhellesoy/events{/privacy}",
"followers_url": "https://api.github.com/users/aslakhellesoy/followers",
"following_url": "https://api.github.com/users/aslakhellesoy/following{/other_user}",
"gists_url": "https://api.github.com/users/aslakhellesoy/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/aslakhellesoy",
"id": 1000,
"login": "aslakhellesoy",
"node_id": "MDQ6VXNlcjEwMDA=",
"organizations_url": "https://api.github.com/users/aslakhellesoy/orgs",
"received_events_url": "https://api.github.com/users/aslakhellesoy/received_events",
"repos_url": "https://api.github.com/users/aslakhellesoy/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/aslakhellesoy/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/aslakhellesoy/subscriptions",
"type": "User",
"url": "https://api.github.com/users/aslakhellesoy"
}
} For the Java implementation we don't want to use a JSON parser, but we can probably extract it with a regexp like |
The idea was to do an acceptance test, but running `git rev-parse HEAD` does not show the "correct" SHA (it shows the same than the GITHUB_SHA env var)
olleolleolle
reviewed
Feb 3, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
See issue #67
Type of change
Checklist: