{"action":"created","issue":{"url":"https://api.github.com/repos/amielucha/hello-github-actions/issues/2","repository_url":"https://api.github.com/repos/amielucha/hello-github-actions","labels_url":"https://api.github.com/repos/amielucha/hello-github-actions/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/amielucha/hello-github-actions/issues/2/comments","events_url":"https://api.github.com/repos/amielucha/hello-github-actions/issues/2/events","html_url":"https://github.com/amielucha/hello-github-actions/pull/2","id":501730146,"node_id":"MDExOlB1bGxSZXF1ZXN0MzIzOTQ3OTA5","number":2,"title":"Copy-paste from the course","user":{"login":"amielucha","id":1773232,"node_id":"MDQ6VXNlcjE3NzMyMzI=","avatar_url":"https://avatars3.githubusercontent.com/u/1773232?v=4","gravatar_id":"","url":"https://api.github.com/users/amielucha","html_url":"https://github.com/amielucha","followers_url":"https://api.github.com/users/amielucha/followers","following_url":"https://api.github.com/users/amielucha/following{/other_user}","gists_url":"https://api.github.com/users/amielucha/gists{/gist_id}","starred_url":"https://api.github.com/users/amielucha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amielucha/subscriptions","organizations_url":"https://api.github.com/users/amielucha/orgs","repos_url":"https://api.github.com/users/amielucha/repos","events_url":"https://api.github.com/users/amielucha/events{/privacy}","received_events_url":"https://api.github.com/users/amielucha/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2019-10-02T21:14:09Z","updated_at":"2019-10-02T21:17:17Z","closed_at":null,"author_association":"OWNER","pull_request":{"url":"https://api.github.com/repos/amielucha/hello-github-actions/pulls/2","html_url":"https://github.com/amielucha/hello-github-actions/pull/2","diff_url":"https://github.com/amielucha/hello-github-actions/pull/2.diff","patch_url":"https://github.com/amielucha/hello-github-actions/pull/2.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/amielucha/hello-github-actions/issues/comments/537685133","html_url":"https://github.com/amielucha/hello-github-actions/pull/2#issuecomment-537685133","issue_url":"https://api.github.com/repos/amielucha/hello-github-actions/issues/2","id":537685133,"node_id":"MDEyOklzc3VlQ29tbWVudDUzNzY4NTEzMw==","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-10-02T21:17:17Z","updated_at":"2019-10-02T21:17:17Z","author_association":"NONE","body":"Nice work! :tada: You added a workflow! \n\nHere's what it means:\n- `name: A workflow for my Hello World file` gives your workflow a name. This name appears on any pull request or in the Actions tab. The name is especially useful when there are multiple workflows in your repository.\n- `on: push` indicates that your workflow will execute anytime code is pushed to your repository, using the [`push`](https://developer.github.com/v3/activity/events/types/#pushevent) event.\n\nNext, we need to specify a job or jobs to run.\n\n### Actions\n\nWorkflows piece together jobs, and jobs piece together steps. We'll now create a job that runs an action. Actions can be used from within the same repository, from any other public repository, or from a published Docker container image. We'll use an action that we'll define in this repository.\n\nWe'll add the block now, and break it down in the next step. \n\n## Step 4: Use an action in your workflow\n\nLet's add the expected action to the workflow.\n\n### :keyboard: Activity: Add an action block to your workflow file and commit it to your branch\n\n1. As a part of this branch and pull request, [edit `.github/workflows/main.yml`](https://github.com/amielucha/hello-github-actions/edit/first-action/.github/workflows/main.yml?pr=/amielucha/hello-github-actions/pull/2) to append the following content:\n    ```yaml\n    jobs:\n      build:\n        name: Hello world action\n        runs-on: ubuntu-latest    \n        steps:\n        - uses: actions/checkout@master\n        - uses: ./action-a\n          env:\n            MY_NAME: \"Mona\"\n    ```\n1. Stage and commit the changes\n1. Push the changes to GitHub\n\n<details><summary>Trouble pushing?</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"}}