{"action":"created","issue":{"url":"https://api.github.com/repos/Smolevich/hello-github-actions/issues/2","repository_url":"https://api.github.com/repos/Smolevich/hello-github-actions","labels_url":"https://api.github.com/repos/Smolevich/hello-github-actions/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/Smolevich/hello-github-actions/issues/2/comments","events_url":"https://api.github.com/repos/Smolevich/hello-github-actions/issues/2/events","html_url":"https://github.com/Smolevich/hello-github-actions/pull/2","id":520225056,"node_id":"MDExOlB1bGxSZXF1ZXN0MzM4ODUxMjk5","number":2,"title":"Add Dockerfile","user":{"login":"Smolevich","id":7188867,"node_id":"MDQ6VXNlcjcxODg4Njc=","avatar_url":"https://avatars1.githubusercontent.com/u/7188867?v=4","gravatar_id":"","url":"https://api.github.com/users/Smolevich","html_url":"https://github.com/Smolevich","followers_url":"https://api.github.com/users/Smolevich/followers","following_url":"https://api.github.com/users/Smolevich/following{/other_user}","gists_url":"https://api.github.com/users/Smolevich/gists{/gist_id}","starred_url":"https://api.github.com/users/Smolevich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Smolevich/subscriptions","organizations_url":"https://api.github.com/users/Smolevich/orgs","repos_url":"https://api.github.com/users/Smolevich/repos","events_url":"https://api.github.com/users/Smolevich/events{/privacy}","received_events_url":"https://api.github.com/users/Smolevich/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2019-11-08T20:43:31Z","updated_at":"2019-11-08T20:46:14Z","closed_at":null,"author_association":"OWNER","pull_request":{"url":"https://api.github.com/repos/Smolevich/hello-github-actions/pulls/2","html_url":"https://github.com/Smolevich/hello-github-actions/pull/2","diff_url":"https://github.com/Smolevich/hello-github-actions/pull/2.diff","patch_url":"https://github.com/Smolevich/hello-github-actions/pull/2.patch"},"body":"- Add Dockerfile for action-a"},"comment":{"url":"https://api.github.com/repos/Smolevich/hello-github-actions/issues/comments/551983764","html_url":"https://github.com/Smolevich/hello-github-actions/pull/2#issuecomment-551983764","issue_url":"https://api.github.com/repos/Smolevich/hello-github-actions/issues/2","id":551983764,"node_id":"MDEyOklzc3VlQ29tbWVudDU1MTk4Mzc2NA==","user":{"login":"github-learning-lab[bot]","id":37936606,"node_id":"MDM6Qm90Mzc5MzY2MDY=","avatar_url":"https://avatars0.githubusercontent.com/in/10572?v=4","gravatar_id":"","url":"https://api.github.com/users/github-learning-lab%5Bbot%5D","html_url":"https://github.com/apps/github-learning-lab","followers_url":"https://api.github.com/users/github-learning-lab%5Bbot%5D/followers","following_url":"https://api.github.com/users/github-learning-lab%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/github-learning-lab%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/github-learning-lab%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-learning-lab%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/github-learning-lab%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/github-learning-lab%5Bbot%5D/repos","events_url":"https://api.github.com/users/github-learning-lab%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/github-learning-lab%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2019-11-08T20:46:14Z","updated_at":"2019-11-08T20:46:14Z","author_association":"NONE","body":"Nice work adding the `entrypoint.sh` script. This script will help define the **action**.\n\nIn `entrypoint.sh`, all we're doing is outputting a \"Hello world\" message using an environment variable called `MY_NAME`, which we'll define in the next step.\n\nNext, we'll define a **workflow** that uses the GitHub Action.\n\n### Workflow Files\nWorkflows are defined in special files in the `.github/workflows` directory, named `main.yml`.\n\nWorkflows can execute based on your chosen event. For this lab, we'll be using the [`push`](https://developer.github.com/v3/activity/events/types/#pushevent) event.\n\nWe'll break down each line of the workflow in the next step. \n\n## Step 3: Add a workflow file\n\nFirst, we'll add the bones of the workflow. We'll add the action itself in a later step.\n\n### :keyboard: Activity: Name and trigger your workflow\n\n1. Create a file titled `.github/workflows/main.yml`. You can do so [using this quicklink](https://github.com/Smolevich/hello-github-actions/new/action-a?filename=.github/workflows/main.yml) or manually:\n    - As a part of this branch and pull request, create a `workflows` directory nested inside the `.github` directory.\n    - In the new `.github/workflows/` directory, create a file titled `main.yml`\n1. Add the following content to the `main.yml` file:\n    ```yaml\n    name: A workflow for my Hello World file\n    on: push\n    ```\n1. Stage and commit the changes\n1. Push the changes to GitHub\n\n<details><summary>Trouble pushing? Click here.</summary>\n\nThe `main.yml` file cannot be edited using an integration. Try editing the file using the web interface, or your command line.\n\nIt is possible that you are using an integration (like GitHub Desktop or any other tool that authenticates as you and pushes on your behalf) if you receive a message like the one below:\n\n```shell\nTo https://github.com/your-username/your-repo.git\n ! [remote rejected] your-branch -> your-branch (refusing to allow an integration to update main.yml)\nerror: failed to push some refs to 'https://github.com/your-username/your-repo.git'\n```\n</details>\n<br />\n\n<hr>\n<h3 align=\"center\">I'll respond when I detect a new commit on this branch.</h3>\n"}}
{"actor":{"display_login":"github-learning-lab"}}