tTdly-Old / ttdly-old.github.io

博客站点
GNU General Public License v3.0
0 stars 0 forks source link

Github Action的信息输出 #32

Open tTdly-Old opened 1 year ago

tTdly-Old commented 1 year ago

issue

open

{
  "token": "***",
  "job": "logInfo",
  "ref": "refs/heads/main",
  "sha": "3d123f2a1b5ccc2572a189ce093835452924d020",
  "repository": "tTdly-Old/Blog",
  "repository_owner": "tTdly-Old",
  "repository_owner_id": "92563872",
  "repositoryUrl": "git://github.com/tTdly-Old/Blog.git",
  "run_id": "4459873054",
  "run_number": "34",
  "retention_days": "90",
  "run_attempt": "1",
  "artifact_cache_size_limit": "10",
  "repository_visibility": "public",
  "repository_id": "612459983",
  "actor_id": "92563872",
  "actor": "tTdly-Old",
  "triggering_actor": "tTdly-Old",
  "workflow": "Auto close and lock others issues",
  "head_ref": "",
  "base_ref": "",
  "event_name": "issues",
  "event": {
    "action": "opened",
    "issue": {
      "active_lock_reason": null,
      "assignee": null,
      "assignees": [],
      "author_association": "OWNER",
      "body": "new\r\n## neww\r\n",
      "closed_at": null,
      "comments": 0,
      "comments_url": "https://api.github.com/repos/tTdly-Old/Blog/issues/24/comments",
      "created_at": "2023-03-19T09:04:19Z",
      "events_url": "https://api.github.com/repos/tTdly-Old/Blog/issues/24/events",
      "html_url": "https://github.com/tTdly-Old/Blog/issues/24",
      "id": 1630847840,
      "labels": [
        {
          "color": "d73a4a",
          "default": true,
          "description": "Something isn't working",
          "id": 5251852127,
          "name": "bug",
          "node_id": "LA_kwDOJIFlz88AAAABOQjnXw",
          "url": "https://api.github.com/repos/tTdly-Old/Blog/labels/bug"
        },
        {
          "color": "0075ca",
          "default": true,
          "description": "Improvements or additions to documentation",
          "id": 5251852130,
          "name": "documentation",
          "node_id": "LA_kwDOJIFlz88AAAABOQjnYg",
          "url": "https://api.github.com/repos/tTdly-Old/Blog/labels/documentation"
        }
      ],
      "labels_url": "https://api.github.com/repos/tTdly-Old/Blog/issues/24/labels{/name}",
      "locked": false,
      "milestone": null,
      "node_id": "I_kwDOJIFlz85hNMNg",
      "number": 24,
      "performed_via_github_app": null,
      "reactions": {
        "+1": 0,
        "-1": 0,
        "confused": 0,
        "eyes": 0,
        "heart": 0,
        "hooray": 0,
        "laugh": 0,
        "rocket": 0,
        "total_count": 0,
        "url": "https://api.github.com/repos/tTdly-Old/Blog/issues/24/reactions"
      },
      "repository_url": "https://api.github.com/repos/tTdly-Old/Blog",
      "state": "open",
      "state_reason": null,
      "timeline_url": "https://api.github.com/repos/tTdly-Old/Blog/issues/24/timeline",
      "title": "创建",
      "updated_at": "2023-03-19T09:04:19Z",
      "url": "https://api.github.com/repos/tTdly-Old/Blog/issues/24",
      "user": {
        "avatar_url": "https://avatars.githubusercontent.com/u/92563872?v=4",
        "events_url": "https://api.github.com/users/tTdly-Old/events{/privacy}",
        "followers_url": "https://api.github.com/users/tTdly-Old/followers",
        "following_url": "https://api.github.com/users/tTdly-Old/following{/other_user}",
        "gists_url": "https://api.github.com/users/tTdly-Old/gists{/gist_id}",
        "gravatar_id": "",
        "html_url": "https://github.com/tTdly-Old",
        "id": 92563872,
        "login": "tTdly-Old",
        "node_id": "U_kgDOBYRpoA",
        "organizations_url": "https://api.github.com/users/tTdly-Old/orgs",
        "received_events_url": "https://api.github.com/users/tTdly-Old/received_events",
        "repos_url": "https://api.github.com/users/tTdly-Old/repos",
        "site_admin": false,
        "starred_url": "https://api.github.com/users/tTdly-Old/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/tTdly-Old/subscriptions",
        "type": "User",
        "url": "https://api.github.com/users/tTdly-Old"
      }
    },
    "repository": {
      "allow_forking": true,
      "archive_url": "https://api.github.com/repos/tTdly-Old/Blog/{archive_format}{/ref}",
      "archived": false,
      "assignees_url": "https://api.github.com/repos/tTdly-Old/Blog/assignees{/user}",
      "blobs_url": "https://api.github.com/repos/tTdly-Old/Blog/git/blobs{/sha}",
      "branches_url": "https://api.github.com/repos/tTdly-Old/Blog/branches{/branch}",
      "clone_url": "https://github.com/tTdly-Old/Blog.git",
      "collaborators_url": "https://api.github.com/repos/tTdly-Old/Blog/collaborators{/collaborator}",
      "comments_url": "https://api.github.com/repos/tTdly-Old/Blog/comments{/number}",
      "commits_url": "https://api.github.com/repos/tTdly-Old/Blog/commits{/sha}",
      "compare_url": "https://api.github.com/repos/tTdly-Old/Blog/compare/{base}...{head}",
      "contents_url": "https://api.github.com/repos/tTdly-Old/Blog/contents/{+path}",
      "contributors_url": "https://api.github.com/repos/tTdly-Old/Blog/contributors",
      "created_at": "2023-03-11T02:22:39Z",
      "default_branch": "main",
      "deployments_url": "https://api.github.com/repos/tTdly-Old/Blog/deployments",
      "description": "test for github issue blog",
      "disabled": false,
      "downloads_url": "https://api.github.com/repos/tTdly-Old/Blog/downloads",
      "events_url": "https://api.github.com/repos/tTdly-Old/Blog/events",
      "fork": false,
      "forks": 0,
      "forks_count": 0,
      "forks_url": "https://api.github.com/repos/tTdly-Old/Blog/forks",
      "full_name": "tTdly-Old/Blog",
      "git_commits_url": "https://api.github.com/repos/tTdly-Old/Blog/git/commits{/sha}",
      "git_refs_url": "https://api.github.com/repos/tTdly-Old/Blog/git/refs{/sha}",
      "git_tags_url": "https://api.github.com/repos/tTdly-Old/Blog/git/tags{/sha}",
      "git_url": "git://github.com/tTdly-Old/Blog.git",
      "has_discussions": false,
      "has_downloads": true,
      "has_issues": true,
      "has_pages": false,
      "has_projects": true,
      "has_wiki": true,
      "homepage": null,
      "hooks_url": "https://api.github.com/repos/tTdly-Old/Blog/hooks",
      "html_url": "https://github.com/tTdly-Old/Blog",
      "id": 612459983,
      "is_template": false,
      "issue_comment_url": "https://api.github.com/repos/tTdly-Old/Blog/issues/comments{/number}",
      "issue_events_url": "https://api.github.com/repos/tTdly-Old/Blog/issues/events{/number}",
      "issues_url": "https://api.github.com/repos/tTdly-Old/Blog/issues{/number}",
      "keys_url": "https://api.github.com/repos/tTdly-Old/Blog/keys{/key_id}",
      "labels_url": "https://api.github.com/repos/tTdly-Old/Blog/labels{/name}",
      "language": null,
      "languages_url": "https://api.github.com/repos/tTdly-Old/Blog/languages",
      "license": null,
      "merges_url": "https://api.github.com/repos/tTdly-Old/Blog/merges",
      "milestones_url": "https://api.github.com/repos/tTdly-Old/Blog/milestones{/number}",
      "mirror_url": null,
      "name": "Blog",
      "node_id": "R_kgDOJIFlzw",
      "notifications_url": "https://api.github.com/repos/tTdly-Old/Blog/notifications{?since,all,participating}",
      "open_issues": 14,
      "open_issues_count": 14,
      "owner": {
        "avatar_url": "https://avatars.githubusercontent.com/u/92563872?v=4",
        "events_url": "https://api.github.com/users/tTdly-Old/events{/privacy}",
        "followers_url": "https://api.github.com/users/tTdly-Old/followers",
        "following_url": "https://api.github.com/users/tTdly-Old/following{/other_user}",
        "gists_url": "https://api.github.com/users/tTdly-Old/gists{/gist_id}",
        "gravatar_id": "",
        "html_url": "https://github.com/tTdly-Old",
        "id": 92563872,
        "login": "tTdly-Old",
        "node_id": "U_kgDOBYRpoA",
        "organizations_url": "https://api.github.com/users/tTdly-Old/orgs",
        "received_events_url": "https://api.github.com/users/tTdly-Old/received_events",
        "repos_url": "https://api.github.com/users/tTdly-Old/repos",
        "site_admin": false,
        "starred_url": "https://api.github.com/users/tTdly-Old/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/tTdly-Old/subscriptions",
        "type": "User",
        "url": "https://api.github.com/users/tTdly-Old"
      },
      "private": false,
      "pulls_url": "https://api.github.com/repos/tTdly-Old/Blog/pulls{/number}",
      "pushed_at": "2023-03-19T09:03:20Z",
      "releases_url": "https://api.github.com/repos/tTdly-Old/Blog/releases{/id}",
      "size": 41,
      "ssh_url": "git@github.com:tTdly-Old/Blog.git",
      "stargazers_count": 0,
      "stargazers_url": "https://api.github.com/repos/tTdly-Old/Blog/stargazers",
      "statuses_url": "https://api.github.com/repos/tTdly-Old/Blog/statuses/{sha}",
      "subscribers_url": "https://api.github.com/repos/tTdly-Old/Blog/subscribers",
      "subscription_url": "https://api.github.com/repos/tTdly-Old/Blog/subscription",
      "svn_url": "https://github.com/tTdly-Old/Blog",
      "tags_url": "https://api.github.com/repos/tTdly-Old/Blog/tags",
      "teams_url": "https://api.github.com/repos/tTdly-Old/Blog/teams",
      "topics": [],
      "trees_url": "https://api.github.com/repos/tTdly-Old/Blog/git/trees{/sha}",
      "updated_at": "2023-03-11T02:22:39Z",
      "url": "https://api.github.com/repos/tTdly-Old/Blog",
      "visibility": "public",
      "watchers": 0,
      "watchers_count": 0,
      "web_commit_signoff_required": false
    },
    "sender": {
      "avatar_url": "https://avatars.githubusercontent.com/u/92563872?v=4",
      "events_url": "https://api.github.com/users/tTdly-Old/events{/privacy}",
      "followers_url": "https://api.github.com/users/tTdly-Old/followers",
      "following_url": "https://api.github.com/users/tTdly-Old/following{/other_user}",
      "gists_url": "https://api.github.com/users/tTdly-Old/gists{/gist_id}",
      "gravatar_id": "",
      "html_url": "https://github.com/tTdly-Old",
      "id": 92563872,
      "login": "tTdly-Old",
      "node_id": "U_kgDOBYRpoA",
      "organizations_url": "https://api.github.com/users/tTdly-Old/orgs",
      "received_events_url": "https://api.github.com/users/tTdly-Old/received_events",
      "repos_url": "https://api.github.com/users/tTdly-Old/repos",
      "site_admin": false,
      "starred_url": "https://api.github.com/users/tTdly-Old/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/tTdly-Old/subscriptions",
      "type": "User",
      "url": "https://api.github.com/users/tTdly-Old"
    }
  },
  "server_url": "https://github.com",
  "api_url": "https://api.github.com",
  "graphql_url": "https://api.github.com/graphql",
  "ref_name": "main",
  "ref_protected": false,
  "ref_type": "branch",
  "secret_source": "Actions",
  "workflow_ref": "tTdly-Old/Blog/.github/workflows/main.yml@refs/heads/main",
  "workflow_sha": "3d123f2a1b5ccc2572a189ce093835452924d020",
  "workspace": "/home/runner/work/Blog/Blog",
  "action": "__run"
}
tTdly-Old commented 1 year ago

isupdate?