Skip to content
839 edited this page Sep 13, 2019 · 3 revisions

Welcome to the action-slack wiki!

refs: https://help.github.com/en/articles/contexts-and-expression-syntax-for-github-actions

ACTIONS_STEP_DEBUG: true

dump github.context

{
  "payload": {
    "after": "271278c3c065e4cae1d9cd60cdc55b083b1cc990",
    "base_ref": null,
    "before": "cf2498e9d550f6ad497fbd8bb808d23992d8f4bd",
    "commits": [
      {
        "added": [],
        "author": {
          "email": "8398a7@gmail.com",
          "name": "839",
          "username": "8398a7"
        },
        "committer": {
          "email": "8398a7@gmail.com",
          "name": "839",
          "username": "8398a7"
        },
        "distinct": false,
        "id": "871c51b4e469948ba3e4efbf0fd8cc310b7bc13b",
        "message": "add debug message",
        "modified": [
          "src/slack.ts"
        ],
        "removed": [],
        "timestamp": "8/15/2019 5:07:18 PM",
        "tree_id": "1cc95dbf9dce144925bd3c8aa67bdfc7e972ceeb",
        "url": "https://github.com/8398a7/action-slack/commit/871c51b4e469948ba3e4efbf0fd8cc310b7bc13b"
      },
      {
        "added": [],
        "author": {
          "email": "8398a7@gmail.com",
          "name": "839",
          "username": "8398a7"
        },
        "committer": {
          "email": "8398a7@gmail.com",
          "name": "839",
          "username": "8398a7"
        },
        "distinct": true,
        "id": "f2c9e41580d9788bfc06102e67084737b0ae9896",
        "message": "Merge branch 'master' into v0",
        "modified": [
          "src/slack.ts"
        ],
        "removed": [],
        "timestamp": "8/15/2019 5:07:31 PM",
        "tree_id": "3d78b3f596815bff061b04293df8a9c27b9c3426",
        "url": "https://github.com/8398a7/action-slack/commit/f2c9e41580d9788bfc06102e67084737b0ae9896"
      },
      {
        "added": [],
        "author": {
          "email": "8398a7@gmail.com",
          "name": "839",
          "username": "8398a7"
        },
        "committer": {
          "email": "8398a7@gmail.com",
          "name": "839",
          "username": "8398a7"
        },
        "distinct": true,
        "id": "271278c3c065e4cae1d9cd60cdc55b083b1cc990",
        "message": "[npm] run publish",
        "modified": [
          "lib/slack.js"
        ],
        "removed": [],
        "timestamp": "8/15/2019 5:08:23 PM",
        "tree_id": "643d2889bf2e59e429f877472ffe96312819c55c",
        "url": "https://github.com/8398a7/action-slack/commit/271278c3c065e4cae1d9cd60cdc55b083b1cc990"
      }
    ],
    "compare": "https://github.com/8398a7/action-slack/compare/cf2498e9d550...271278c3c065",
    "created": false,
    "deleted": false,
    "forced": false,
    "head_commit": {
      "added": [],
      "author": {
        "email": "8398a7@gmail.com",
        "name": "839",
        "username": "8398a7"
      },
      "committer": {
        "email": "8398a7@gmail.com",
        "name": "839",
        "username": "8398a7"
      },
      "distinct": true,
      "id": "271278c3c065e4cae1d9cd60cdc55b083b1cc990",
      "message": "[npm] run publish",
      "modified": [
        "lib/slack.js"
      ],
      "removed": [],
      "timestamp": "8/15/2019 5:08:23 PM",
      "tree_id": "643d2889bf2e59e429f877472ffe96312819c55c",
      "url": "https://github.com/8398a7/action-slack/commit/271278c3c065e4cae1d9cd60cdc55b083b1cc990"
    },
    "pusher": {
      "email": "8398a7@gmail.com",
      "name": "8398a7"
    },
    "ref": "refs/heads/v0",
    "repository": {
      "archive_url": "https://api.github.com/repos/8398a7/action-slack/{archive_format}{/ref}",
      "archived": false,
      "assignees_url": "https://api.github.com/repos/8398a7/action-slack/assignees{/user}",
      "blobs_url": "https://api.github.com/repos/8398a7/action-slack/git/blobs{/sha}",
      "branches_url": "https://api.github.com/repos/8398a7/action-slack/branches{/branch}",
      "clone_url": "https://github.com/8398a7/action-slack.git",
      "collaborators_url": "https://api.github.com/repos/8398a7/action-slack/collaborators{/collaborator}",
      "comments_url": "https://api.github.com/repos/8398a7/action-slack/comments{/number}",
      "commits_url": "https://api.github.com/repos/8398a7/action-slack/commits{/sha}",
      "compare_url": "https://api.github.com/repos/8398a7/action-slack/compare/{base}...{head}",
      "contents_url": "https://api.github.com/repos/8398a7/action-slack/contents/{+path}",
      "contributors_url": "https://api.github.com/repos/8398a7/action-slack/contributors",
      "created_at": 1565882080,
      "default_branch": "master",
      "deployments_url": "https://api.github.com/repos/8398a7/action-slack/deployments",
      "description": null,
      "disabled": false,
      "downloads_url": "https://api.github.com/repos/8398a7/action-slack/downloads",
      "events_url": "https://api.github.com/repos/8398a7/action-slack/events",
      "fork": false,
      "forks": 0,
      "forks_count": 0,
      "forks_url": "https://api.github.com/repos/8398a7/action-slack/forks",
      "full_name": "8398a7/action-slack",
      "git_commits_url": "https://api.github.com/repos/8398a7/action-slack/git/commits{/sha}",
      "git_refs_url": "https://api.github.com/repos/8398a7/action-slack/git/refs{/sha}",
      "git_tags_url": "https://api.github.com/repos/8398a7/action-slack/git/tags{/sha}",
      "git_url": "git://github.com/8398a7/action-slack.git",
      "has_downloads": true,
      "has_issues": true,
      "has_pages": false,
      "has_projects": true,
      "has_wiki": true,
      "homepage": null,
      "hooks_url": "https://api.github.com/repos/8398a7/action-slack/hooks",
      "html_url": "https://github.com/8398a7/action-slack",
      "id": 202563790,
      "issue_comment_url": "https://api.github.com/repos/8398a7/action-slack/issues/comments{/number}",
      "issue_events_url": "https://api.github.com/repos/8398a7/action-slack/issues/events{/number}",
      "issues_url": "https://api.github.com/repos/8398a7/action-slack/issues{/number}",
      "keys_url": "https://api.github.com/repos/8398a7/action-slack/keys{/key_id}",
      "labels_url": "https://api.github.com/repos/8398a7/action-slack/labels{/name}",
      "language": "TypeScript",
      "languages_url": "https://api.github.com/repos/8398a7/action-slack/languages",
      "license": {
        "key": "mit",
        "name": "MIT License",
        "node_id": "MDc6TGljZW5zZTEz",
        "spdx_id": "MIT",
        "url": "https://api.github.com/licenses/mit"
      },
      "master_branch": "master",
      "merges_url": "https://api.github.com/repos/8398a7/action-slack/merges",
      "milestones_url": "https://api.github.com/repos/8398a7/action-slack/milestones{/number}",
      "mirror_url": null,
      "name": "action-slack",
      "node_id": "MDEwOlJlcG9zaXRvcnkyMDI1NjM3OTA=",
      "notifications_url": "https://api.github.com/repos/8398a7/action-slack/notifications{?since,all,participating}",
      "open_issues": 0,
      "open_issues_count": 0,
      "owner": {
        "avatar_url": "https://avatars0.githubusercontent.com/u/8043276?v=4",
        "email": "8398a7@gmail.com",
        "events_url": "https://api.github.com/users/8398a7/events{/privacy}",
        "followers_url": "https://api.github.com/users/8398a7/followers",
        "following_url": "https://api.github.com/users/8398a7/following{/other_user}",
        "gists_url": "https://api.github.com/users/8398a7/gists{/gist_id}",
        "gravatar_id": "",
        "html_url": "https://github.com/8398a7",
        "id": 8043276,
        "login": "8398a7",
        "name": "8398a7",
        "node_id": "MDQ6VXNlcjgwNDMyNzY=",
        "organizations_url": "https://api.github.com/users/8398a7/orgs",
        "received_events_url": "https://api.github.com/users/8398a7/received_events",
        "repos_url": "https://api.github.com/users/8398a7/repos",
        "site_admin": false,
        "starred_url": "https://api.github.com/users/8398a7/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/8398a7/subscriptions",
        "type": "User",
        "url": "https://api.github.com/users/8398a7"
      },
      "private": false,
      "pulls_url": "https://api.github.com/repos/8398a7/action-slack/pulls{/number}",
      "pushed_at": 1565888907,
      "releases_url": "https://api.github.com/repos/8398a7/action-slack/releases{/id}",
      "size": 924,
      "ssh_url": "git@github.com:8398a7/action-slack.git",
      "stargazers": 0,
      "stargazers_count": 0,
      "stargazers_url": "https://api.github.com/repos/8398a7/action-slack/stargazers",
      "statuses_url": "https://api.github.com/repos/8398a7/action-slack/statuses/{sha}",
      "subscribers_url": "https://api.github.com/repos/8398a7/action-slack/subscribers",
      "subscription_url": "https://api.github.com/repos/8398a7/action-slack/subscription",
      "svn_url": "https://github.com/8398a7/action-slack",
      "tags_url": "https://api.github.com/repos/8398a7/action-slack/tags",
      "teams_url": "https://api.github.com/repos/8398a7/action-slack/teams",
      "trees_url": "https://api.github.com/repos/8398a7/action-slack/git/trees{/sha}",
      "updated_at": "8/15/2019 5:07:25 PM",
      "url": "https://github.com/8398a7/action-slack",
      "watchers": 0,
      "watchers_count": 0
    },
    "sender": {
      "avatar_url": "https://avatars0.githubusercontent.com/u/8043276?v=4",
      "events_url": "https://api.github.com/users/8398a7/events{/privacy}",
      "followers_url": "https://api.github.com/users/8398a7/followers",
      "following_url": "https://api.github.com/users/8398a7/following{/other_user}",
      "gists_url": "https://api.github.com/users/8398a7/gists{/gist_id}",
      "gravatar_id": "",
      "html_url": "https://github.com/8398a7",
      "id": 8043276,
      "login": "8398a7",
      "node_id": "MDQ6VXNlcjgwNDMyNzY=",
      "organizations_url": "https://api.github.com/users/8398a7/orgs",
      "received_events_url": "https://api.github.com/users/8398a7/received_events",
      "repos_url": "https://api.github.com/users/8398a7/repos",
      "site_admin": false,
      "starred_url": "https://api.github.com/users/8398a7/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/8398a7/subscriptions",
      "type": "User",
      "url": "https://api.github.com/users/8398a7"
    }
  },
  "eventName": "push",
  "sha": "271278c3c065e4cae1d9cd60cdc55b083b1cc990",
  "ref": "refs/heads/v0",
  "workflow": "Slack Checks",
  "action": "a7action-slack1",
  "actor": "8398a7"
}
Clone this wiki locally