[GH-ISSUE #127] Support if condition #85

Closed
opened 2026-03-01 21:39:58 +03:00 by kerem · 6 comments
Owner

Originally created by @robdodson on GitHub (Mar 6, 2020).
Original GitHub issue: https://github.com/nektos/act/issues/127

  • Version of act
    act version 0.2.5

  • Platform (Linux, OS X, Windows)
    macOS 10.14.6

  • The complete main.workflow file used

name: Lint front matter
on:
# By default, runs when a pull_request's activity type is opened, synchronize,
# or reopened
  pull_request:
    paths:
      - '**.md'
      - '**.markdown'

jobs:
  linter:
    name: Linter
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v1

      - name: Setup node
        uses: actions/setup-node@v1
        with:
          node-version: '12.x'
      
      - name: Install
        run: npm ci
      
      - name: Git diff
        id: git_diff
        uses: futuratrepadeira/changed-files@v3.0.1
        with:
          repo-token: ${{ secrets.GITHUB_TOKEN }}

      - name: Lint yaml front matter
        uses: ./.github/actions/lint-yaml
        with:
          added: ${{ steps.git_diff.outputs.files_created }}
          modified: ${{ steps.git_diff.outputs.files_updated }}
        # Only run the linter if the previous step indicated that files were
        # added or modified in the pull request.
        if: steps.git_diff.outputs.files_created || steps.git_diff.outputs.files_updated
  • The complete command that was executed
    act pull_request -q -e event.json -s GITHUB_TOKEN=[my access token]

  • Any output from the command

[Lint front matter/Linter] 🚀  Start image=node:12.6-buster-slim
[Lint front matter/Linter]   🐳  docker run image=node:12.6-buster-slim entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[Lint front matter/Linter]   🐳  docker cp src=... dst=/github/workspace
[Lint front matter/Linter] ⭐  Run Checkout
[Lint front matter/Linter]   ✅  Success - Checkout
[Lint front matter/Linter] ⭐  Run Setup node
[Lint front matter/Linter]   ☁  git clone 'https://github.com/actions/setup-node' # ref=v1
[Lint front matter/Linter]   🐳  docker cp src=/Users/.../.cache/act/actions-setup-node@v1 dst=/actions/
[Lint front matter/Linter]   💬  ::debug::isExplicit: 
[Lint front matter/Linter]   💬  ::debug::explicit? false
[Lint front matter/Linter]   💬  ::debug::evaluating 0 versions
[Lint front matter/Linter]   💬  ::debug::match not found
[Lint front matter/Linter]   💬  ::debug::evaluating 380 versions
[Lint front matter/Linter]   💬  ::debug::matched: v12.16.1
[Lint front matter/Linter]   💬  ::debug::isExplicit: 12.16.1
[Lint front matter/Linter]   💬  ::debug::explicit? true
[Lint front matter/Linter]   💬  ::debug::checking cache: /opt/hostedtoolcache/node/12.16.1/x64
[Lint front matter/Linter]   💬  ::debug::not found
[Lint front matter/Linter]   💬  ::debug::Downloading https://nodejs.org/dist/v12.16.1/node-v12.16.1-linux-x64.tar.gz
[Lint front matter/Linter]   💬  ::debug::Downloading /home/actions/temp/3913e941-a48b-482f-ad84-449fe6874da5
[Lint front matter/Linter]   💬  ::debug::download complete
[Lint front matter/Linter]   💬  ::debug::Caching tool node 12.16.1 x64
[Lint front matter/Linter]   💬  ::debug::source dir: /home/actions/temp/8ad7e592-788e-45d7-90f0-a5e2aaa7af9b/node-v12.16.1-linux-x64
[Lint front matter/Linter]   💬  ::debug::destination /opt/hostedtoolcache/node/12.16.1/x64
[Lint front matter/Linter]   💬  ::debug::finished caching tool
[Lint front matter/Linter]   ⚙  ::add-path:: /opt/hostedtoolcache/node/12.16.1/x64/bin
[Lint front matter/Linter]   ❓  ##[add-matcher]/actions/actions-setup-node@v1/.github/tsc.json
[Lint front matter/Linter]   ❓  ##[add-matcher]/actions/actions-setup-node@v1/.github/eslint-stylish.json
[Lint front matter/Linter]   ❓  ##[add-matcher]/actions/actions-setup-node@v1/.github/eslint-compact.json
[Lint front matter/Linter]   ✅  Success - Setup node
[Lint front matter/Linter] ⭐  Run Install
[Lint front matter/Linter]   ✅  Success - Install
[Lint front matter/Linter] ⭐  Run Git diff
[Lint front matter/Linter]   ☁  git clone 'https://github.com/futuratrepadeira/changed-files' # ref=v3.0.1
[Lint front matter/Linter] Unable to pull refs/heads/v3.0.1: non-fast-forward update
[Lint front matter/Linter]   🐳  docker cp src=/Users/.../.cache/act/futuratrepadeira-changed-files@v3.0.1 dst=/actions/
[Lint front matter/Linter]   💬  ::debug::Found count() {%0A        return this.updated.length + this.created.length + this.deleted.length;%0A    } changed files for pr #5
[Lint front matter/Linter]   ⚙  ::set-output:: files_created=.gitignore event.json
[Lint front matter/Linter]   ⚙  ::set-output:: files_updated=src/site/content/en/foo.md
[Lint front matter/Linter]   ⚙  ::set-output:: files_deleted=
[Lint front matter/Linter]   ✅  Success - Git diff
  • Details of the expected results and how they differed from the actual results
    I have an if condition in my workflow that says if it sees files_created or files_updated during the git_diff step then the next step should run. But it looks like act stops executing after the git_diff step. If I remove the if condition, then it runs the next step. The if condition works as expected when I'm using GitHub's Actions panel in the repo itself.
Originally created by @robdodson on GitHub (Mar 6, 2020). Original GitHub issue: https://github.com/nektos/act/issues/127 - Version of act act version 0.2.5 - Platform (Linux, OS X, Windows) macOS 10.14.6 - The complete main.workflow file used ```yml name: Lint front matter on: # By default, runs when a pull_request's activity type is opened, synchronize, # or reopened pull_request: paths: - '**.md' - '**.markdown' jobs: linter: name: Linter runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v1 - name: Setup node uses: actions/setup-node@v1 with: node-version: '12.x' - name: Install run: npm ci - name: Git diff id: git_diff uses: futuratrepadeira/changed-files@v3.0.1 with: repo-token: ${{ secrets.GITHUB_TOKEN }} - name: Lint yaml front matter uses: ./.github/actions/lint-yaml with: added: ${{ steps.git_diff.outputs.files_created }} modified: ${{ steps.git_diff.outputs.files_updated }} # Only run the linter if the previous step indicated that files were # added or modified in the pull request. if: steps.git_diff.outputs.files_created || steps.git_diff.outputs.files_updated ``` - The complete command that was executed `act pull_request -q -e event.json -s GITHUB_TOKEN=[my access token]` - Any output from the command ``` [Lint front matter/Linter] 🚀 Start image=node:12.6-buster-slim [Lint front matter/Linter] 🐳 docker run image=node:12.6-buster-slim entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[] [Lint front matter/Linter] 🐳 docker cp src=... dst=/github/workspace [Lint front matter/Linter] ⭐ Run Checkout [Lint front matter/Linter] ✅ Success - Checkout [Lint front matter/Linter] ⭐ Run Setup node [Lint front matter/Linter] ☁ git clone 'https://github.com/actions/setup-node' # ref=v1 [Lint front matter/Linter] 🐳 docker cp src=/Users/.../.cache/act/actions-setup-node@v1 dst=/actions/ [Lint front matter/Linter] 💬 ::debug::isExplicit: [Lint front matter/Linter] 💬 ::debug::explicit? false [Lint front matter/Linter] 💬 ::debug::evaluating 0 versions [Lint front matter/Linter] 💬 ::debug::match not found [Lint front matter/Linter] 💬 ::debug::evaluating 380 versions [Lint front matter/Linter] 💬 ::debug::matched: v12.16.1 [Lint front matter/Linter] 💬 ::debug::isExplicit: 12.16.1 [Lint front matter/Linter] 💬 ::debug::explicit? true [Lint front matter/Linter] 💬 ::debug::checking cache: /opt/hostedtoolcache/node/12.16.1/x64 [Lint front matter/Linter] 💬 ::debug::not found [Lint front matter/Linter] 💬 ::debug::Downloading https://nodejs.org/dist/v12.16.1/node-v12.16.1-linux-x64.tar.gz [Lint front matter/Linter] 💬 ::debug::Downloading /home/actions/temp/3913e941-a48b-482f-ad84-449fe6874da5 [Lint front matter/Linter] 💬 ::debug::download complete [Lint front matter/Linter] 💬 ::debug::Caching tool node 12.16.1 x64 [Lint front matter/Linter] 💬 ::debug::source dir: /home/actions/temp/8ad7e592-788e-45d7-90f0-a5e2aaa7af9b/node-v12.16.1-linux-x64 [Lint front matter/Linter] 💬 ::debug::destination /opt/hostedtoolcache/node/12.16.1/x64 [Lint front matter/Linter] 💬 ::debug::finished caching tool [Lint front matter/Linter] ⚙ ::add-path:: /opt/hostedtoolcache/node/12.16.1/x64/bin [Lint front matter/Linter] ❓ ##[add-matcher]/actions/actions-setup-node@v1/.github/tsc.json [Lint front matter/Linter] ❓ ##[add-matcher]/actions/actions-setup-node@v1/.github/eslint-stylish.json [Lint front matter/Linter] ❓ ##[add-matcher]/actions/actions-setup-node@v1/.github/eslint-compact.json [Lint front matter/Linter] ✅ Success - Setup node [Lint front matter/Linter] ⭐ Run Install [Lint front matter/Linter] ✅ Success - Install [Lint front matter/Linter] ⭐ Run Git diff [Lint front matter/Linter] ☁ git clone 'https://github.com/futuratrepadeira/changed-files' # ref=v3.0.1 [Lint front matter/Linter] Unable to pull refs/heads/v3.0.1: non-fast-forward update [Lint front matter/Linter] 🐳 docker cp src=/Users/.../.cache/act/futuratrepadeira-changed-files@v3.0.1 dst=/actions/ [Lint front matter/Linter] 💬 ::debug::Found count() {%0A return this.updated.length + this.created.length + this.deleted.length;%0A } changed files for pr #5 [Lint front matter/Linter] ⚙ ::set-output:: files_created=.gitignore event.json [Lint front matter/Linter] ⚙ ::set-output:: files_updated=src/site/content/en/foo.md [Lint front matter/Linter] ⚙ ::set-output:: files_deleted= [Lint front matter/Linter] ✅ Success - Git diff ``` - Details of the expected results and how they differed from the actual results I have an `if` condition in my workflow that says if it sees `files_created` or `files_updated` during the git_diff step then the next step should run. But it looks like `act` stops executing after the git_diff step. If I remove the `if` condition, then it runs the next step. The `if` condition works as expected when I'm using GitHub's Actions panel in the repo itself.
kerem 2026-03-01 21:39:58 +03:00
Author
Owner

@cplee commented on GitHub (Mar 6, 2020):

@robdodson - can you share the sample event.json file you are using?

<!-- gh-comment-id:595875724 --> @cplee commented on GitHub (Mar 6, 2020): @robdodson - can you share the sample event.json file you are using?
Author
Owner

@robdodson commented on GitHub (Mar 6, 2020):

{
  "action": "opened",
  "number": 5,
  "pull_request": {
    "url": "https://api.github.com/repos/robdodson/yaml-action/pulls/5",
    "id": 384902507,
    "node_id": "MDExOlB1bGxSZXF1ZXN0Mzg0OTAyNTA3",
    "html_url": "https://github.com/robdodson/yaml-action/pull/5",
    "diff_url": "https://github.com/robdodson/yaml-action/pull/5.diff",
    "patch_url": "https://github.com/robdodson/yaml-action/pull/5.patch",
    "issue_url": "https://api.github.com/repos/robdodson/yaml-action/issues/5",
    "number": 5,
    "state": "open",
    "locked": false,
    "title": "sdfd",
    "user": {
      "login": "robdodson",
      "id": 1066253,
      "node_id": "MDQ6VXNlcjEwNjYyNTM=",
      "avatar_url": "https://avatars0.githubusercontent.com/u/1066253?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/robdodson",
      "html_url": "https://github.com/robdodson",
      "followers_url": "https://api.github.com/users/robdodson/followers",
      "following_url": "https://api.github.com/users/robdodson/following{/other_user}",
      "gists_url": "https://api.github.com/users/robdodson/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/robdodson/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/robdodson/subscriptions",
      "organizations_url": "https://api.github.com/users/robdodson/orgs",
      "repos_url": "https://api.github.com/users/robdodson/repos",
      "events_url": "https://api.github.com/users/robdodson/events{/privacy}",
      "received_events_url": "https://api.github.com/users/robdodson/received_events",
      "type": "User",
      "site_admin": false
    },
    "body": "",
    "created_at": "2020-03-06T16:11:17Z",
    "updated_at": "2020-03-06T16:11:17Z",
    "closed_at": null,
    "merged_at": null,
    "merge_commit_sha": null,
    "assignee": null,
    "assignees": [

    ],
    "requested_reviewers": [

    ],
    "requested_teams": [

    ],
    "labels": [

    ],
    "milestone": null,
    "commits_url": "https://api.github.com/repos/robdodson/yaml-action/pulls/5/commits",
    "review_comments_url": "https://api.github.com/repos/robdodson/yaml-action/pulls/5/comments",
    "review_comment_url": "https://api.github.com/repos/robdodson/yaml-action/pulls/comments{/number}",
    "comments_url": "https://api.github.com/repos/robdodson/yaml-action/issues/5/comments",
    "statuses_url": "https://api.github.com/repos/robdodson/yaml-action/statuses/592c26ac799fb9e5b1d0d2d047f5082cdd434c16",
    "head": {
      "label": "robdodson:act-test2",
      "ref": "act-test2",
      "sha": "592c26ac799fb9e5b1d0d2d047f5082cdd434c16",
      "user": {
        "login": "robdodson",
        "id": 1066253,
        "node_id": "MDQ6VXNlcjEwNjYyNTM=",
        "avatar_url": "https://avatars0.githubusercontent.com/u/1066253?v=4",
        "gravatar_id": "",
        "url": "https://api.github.com/users/robdodson",
        "html_url": "https://github.com/robdodson",
        "followers_url": "https://api.github.com/users/robdodson/followers",
        "following_url": "https://api.github.com/users/robdodson/following{/other_user}",
        "gists_url": "https://api.github.com/users/robdodson/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/robdodson/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/robdodson/subscriptions",
        "organizations_url": "https://api.github.com/users/robdodson/orgs",
        "repos_url": "https://api.github.com/users/robdodson/repos",
        "events_url": "https://api.github.com/users/robdodson/events{/privacy}",
        "received_events_url": "https://api.github.com/users/robdodson/received_events",
        "type": "User",
        "site_admin": false
      },
      "repo": {
        "id": 240805508,
        "node_id": "MDEwOlJlcG9zaXRvcnkyNDA4MDU1MDg=",
        "name": "yaml-action",
        "full_name": "robdodson/yaml-action",
        "private": true,
        "owner": {
          "login": "robdodson",
          "id": 1066253,
          "node_id": "MDQ6VXNlcjEwNjYyNTM=",
          "avatar_url": "https://avatars0.githubusercontent.com/u/1066253?v=4",
          "gravatar_id": "",
          "url": "https://api.github.com/users/robdodson",
          "html_url": "https://github.com/robdodson",
          "followers_url": "https://api.github.com/users/robdodson/followers",
          "following_url": "https://api.github.com/users/robdodson/following{/other_user}",
          "gists_url": "https://api.github.com/users/robdodson/gists{/gist_id}",
          "starred_url": "https://api.github.com/users/robdodson/starred{/owner}{/repo}",
          "subscriptions_url": "https://api.github.com/users/robdodson/subscriptions",
          "organizations_url": "https://api.github.com/users/robdodson/orgs",
          "repos_url": "https://api.github.com/users/robdodson/repos",
          "events_url": "https://api.github.com/users/robdodson/events{/privacy}",
          "received_events_url": "https://api.github.com/users/robdodson/received_events",
          "type": "User",
          "site_admin": false
        },
        "html_url": "https://github.com/robdodson/yaml-action",
        "description": null,
        "fork": false,
        "url": "https://api.github.com/repos/robdodson/yaml-action",
        "forks_url": "https://api.github.com/repos/robdodson/yaml-action/forks",
        "keys_url": "https://api.github.com/repos/robdodson/yaml-action/keys{/key_id}",
        "collaborators_url": "https://api.github.com/repos/robdodson/yaml-action/collaborators{/collaborator}",
        "teams_url": "https://api.github.com/repos/robdodson/yaml-action/teams",
        "hooks_url": "https://api.github.com/repos/robdodson/yaml-action/hooks",
        "issue_events_url": "https://api.github.com/repos/robdodson/yaml-action/issues/events{/number}",
        "events_url": "https://api.github.com/repos/robdodson/yaml-action/events",
        "assignees_url": "https://api.github.com/repos/robdodson/yaml-action/assignees{/user}",
        "branches_url": "https://api.github.com/repos/robdodson/yaml-action/branches{/branch}",
        "tags_url": "https://api.github.com/repos/robdodson/yaml-action/tags",
        "blobs_url": "https://api.github.com/repos/robdodson/yaml-action/git/blobs{/sha}",
        "git_tags_url": "https://api.github.com/repos/robdodson/yaml-action/git/tags{/sha}",
        "git_refs_url": "https://api.github.com/repos/robdodson/yaml-action/git/refs{/sha}",
        "trees_url": "https://api.github.com/repos/robdodson/yaml-action/git/trees{/sha}",
        "statuses_url": "https://api.github.com/repos/robdodson/yaml-action/statuses/{sha}",
        "languages_url": "https://api.github.com/repos/robdodson/yaml-action/languages",
        "stargazers_url": "https://api.github.com/repos/robdodson/yaml-action/stargazers",
        "contributors_url": "https://api.github.com/repos/robdodson/yaml-action/contributors",
        "subscribers_url": "https://api.github.com/repos/robdodson/yaml-action/subscribers",
        "subscription_url": "https://api.github.com/repos/robdodson/yaml-action/subscription",
        "commits_url": "https://api.github.com/repos/robdodson/yaml-action/commits{/sha}",
        "git_commits_url": "https://api.github.com/repos/robdodson/yaml-action/git/commits{/sha}",
        "comments_url": "https://api.github.com/repos/robdodson/yaml-action/comments{/number}",
        "issue_comment_url": "https://api.github.com/repos/robdodson/yaml-action/issues/comments{/number}",
        "contents_url": "https://api.github.com/repos/robdodson/yaml-action/contents/{+path}",
        "compare_url": "https://api.github.com/repos/robdodson/yaml-action/compare/{base}...{head}",
        "merges_url": "https://api.github.com/repos/robdodson/yaml-action/merges",
        "archive_url": "https://api.github.com/repos/robdodson/yaml-action/{archive_format}{/ref}",
        "downloads_url": "https://api.github.com/repos/robdodson/yaml-action/downloads",
        "issues_url": "https://api.github.com/repos/robdodson/yaml-action/issues{/number}",
        "pulls_url": "https://api.github.com/repos/robdodson/yaml-action/pulls{/number}",
        "milestones_url": "https://api.github.com/repos/robdodson/yaml-action/milestones{/number}",
        "notifications_url": "https://api.github.com/repos/robdodson/yaml-action/notifications{?since,all,participating}",
        "labels_url": "https://api.github.com/repos/robdodson/yaml-action/labels{/name}",
        "releases_url": "https://api.github.com/repos/robdodson/yaml-action/releases{/id}",
        "deployments_url": "https://api.github.com/repos/robdodson/yaml-action/deployments",
        "created_at": "2020-02-16T00:00:43Z",
        "updated_at": "2020-03-06T15:56:44Z",
        "pushed_at": "2020-03-06T16:10:50Z",
        "git_url": "git://github.com/robdodson/yaml-action.git",
        "ssh_url": "git@github.com:robdodson/yaml-action.git",
        "clone_url": "https://github.com/robdodson/yaml-action.git",
        "svn_url": "https://github.com/robdodson/yaml-action",
        "homepage": null,
        "size": 47,
        "stargazers_count": 0,
        "watchers_count": 0,
        "language": "JavaScript",
        "has_issues": true,
        "has_projects": true,
        "has_downloads": true,
        "has_wiki": true,
        "has_pages": false,
        "forks_count": 0,
        "mirror_url": null,
        "archived": false,
        "disabled": false,
        "open_issues_count": 1,
        "license": null,
        "forks": 0,
        "open_issues": 1,
        "watchers": 0,
        "default_branch": "master"
      }
    },
    "base": {
      "label": "robdodson:master",
      "ref": "master",
      "sha": "f389837adc460699775e74bed82209b7ed7baa30",
      "user": {
        "login": "robdodson",
        "id": 1066253,
        "node_id": "MDQ6VXNlcjEwNjYyNTM=",
        "avatar_url": "https://avatars0.githubusercontent.com/u/1066253?v=4",
        "gravatar_id": "",
        "url": "https://api.github.com/users/robdodson",
        "html_url": "https://github.com/robdodson",
        "followers_url": "https://api.github.com/users/robdodson/followers",
        "following_url": "https://api.github.com/users/robdodson/following{/other_user}",
        "gists_url": "https://api.github.com/users/robdodson/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/robdodson/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/robdodson/subscriptions",
        "organizations_url": "https://api.github.com/users/robdodson/orgs",
        "repos_url": "https://api.github.com/users/robdodson/repos",
        "events_url": "https://api.github.com/users/robdodson/events{/privacy}",
        "received_events_url": "https://api.github.com/users/robdodson/received_events",
        "type": "User",
        "site_admin": false
      },
      "repo": {
        "id": 240805508,
        "node_id": "MDEwOlJlcG9zaXRvcnkyNDA4MDU1MDg=",
        "name": "yaml-action",
        "full_name": "robdodson/yaml-action",
        "private": true,
        "owner": {
          "login": "robdodson",
          "id": 1066253,
          "node_id": "MDQ6VXNlcjEwNjYyNTM=",
          "avatar_url": "https://avatars0.githubusercontent.com/u/1066253?v=4",
          "gravatar_id": "",
          "url": "https://api.github.com/users/robdodson",
          "html_url": "https://github.com/robdodson",
          "followers_url": "https://api.github.com/users/robdodson/followers",
          "following_url": "https://api.github.com/users/robdodson/following{/other_user}",
          "gists_url": "https://api.github.com/users/robdodson/gists{/gist_id}",
          "starred_url": "https://api.github.com/users/robdodson/starred{/owner}{/repo}",
          "subscriptions_url": "https://api.github.com/users/robdodson/subscriptions",
          "organizations_url": "https://api.github.com/users/robdodson/orgs",
          "repos_url": "https://api.github.com/users/robdodson/repos",
          "events_url": "https://api.github.com/users/robdodson/events{/privacy}",
          "received_events_url": "https://api.github.com/users/robdodson/received_events",
          "type": "User",
          "site_admin": false
        },
        "html_url": "https://github.com/robdodson/yaml-action",
        "description": null,
        "fork": false,
        "url": "https://api.github.com/repos/robdodson/yaml-action",
        "forks_url": "https://api.github.com/repos/robdodson/yaml-action/forks",
        "keys_url": "https://api.github.com/repos/robdodson/yaml-action/keys{/key_id}",
        "collaborators_url": "https://api.github.com/repos/robdodson/yaml-action/collaborators{/collaborator}",
        "teams_url": "https://api.github.com/repos/robdodson/yaml-action/teams",
        "hooks_url": "https://api.github.com/repos/robdodson/yaml-action/hooks",
        "issue_events_url": "https://api.github.com/repos/robdodson/yaml-action/issues/events{/number}",
        "events_url": "https://api.github.com/repos/robdodson/yaml-action/events",
        "assignees_url": "https://api.github.com/repos/robdodson/yaml-action/assignees{/user}",
        "branches_url": "https://api.github.com/repos/robdodson/yaml-action/branches{/branch}",
        "tags_url": "https://api.github.com/repos/robdodson/yaml-action/tags",
        "blobs_url": "https://api.github.com/repos/robdodson/yaml-action/git/blobs{/sha}",
        "git_tags_url": "https://api.github.com/repos/robdodson/yaml-action/git/tags{/sha}",
        "git_refs_url": "https://api.github.com/repos/robdodson/yaml-action/git/refs{/sha}",
        "trees_url": "https://api.github.com/repos/robdodson/yaml-action/git/trees{/sha}",
        "statuses_url": "https://api.github.com/repos/robdodson/yaml-action/statuses/{sha}",
        "languages_url": "https://api.github.com/repos/robdodson/yaml-action/languages",
        "stargazers_url": "https://api.github.com/repos/robdodson/yaml-action/stargazers",
        "contributors_url": "https://api.github.com/repos/robdodson/yaml-action/contributors",
        "subscribers_url": "https://api.github.com/repos/robdodson/yaml-action/subscribers",
        "subscription_url": "https://api.github.com/repos/robdodson/yaml-action/subscription",
        "commits_url": "https://api.github.com/repos/robdodson/yaml-action/commits{/sha}",
        "git_commits_url": "https://api.github.com/repos/robdodson/yaml-action/git/commits{/sha}",
        "comments_url": "https://api.github.com/repos/robdodson/yaml-action/comments{/number}",
        "issue_comment_url": "https://api.github.com/repos/robdodson/yaml-action/issues/comments{/number}",
        "contents_url": "https://api.github.com/repos/robdodson/yaml-action/contents/{+path}",
        "compare_url": "https://api.github.com/repos/robdodson/yaml-action/compare/{base}...{head}",
        "merges_url": "https://api.github.com/repos/robdodson/yaml-action/merges",
        "archive_url": "https://api.github.com/repos/robdodson/yaml-action/{archive_format}{/ref}",
        "downloads_url": "https://api.github.com/repos/robdodson/yaml-action/downloads",
        "issues_url": "https://api.github.com/repos/robdodson/yaml-action/issues{/number}",
        "pulls_url": "https://api.github.com/repos/robdodson/yaml-action/pulls{/number}",
        "milestones_url": "https://api.github.com/repos/robdodson/yaml-action/milestones{/number}",
        "notifications_url": "https://api.github.com/repos/robdodson/yaml-action/notifications{?since,all,participating}",
        "labels_url": "https://api.github.com/repos/robdodson/yaml-action/labels{/name}",
        "releases_url": "https://api.github.com/repos/robdodson/yaml-action/releases{/id}",
        "deployments_url": "https://api.github.com/repos/robdodson/yaml-action/deployments",
        "created_at": "2020-02-16T00:00:43Z",
        "updated_at": "2020-03-06T15:56:44Z",
        "pushed_at": "2020-03-06T16:10:50Z",
        "git_url": "git://github.com/robdodson/yaml-action.git",
        "ssh_url": "git@github.com:robdodson/yaml-action.git",
        "clone_url": "https://github.com/robdodson/yaml-action.git",
        "svn_url": "https://github.com/robdodson/yaml-action",
        "homepage": null,
        "size": 47,
        "stargazers_count": 0,
        "watchers_count": 0,
        "language": "JavaScript",
        "has_issues": true,
        "has_projects": true,
        "has_downloads": true,
        "has_wiki": true,
        "has_pages": false,
        "forks_count": 0,
        "mirror_url": null,
        "archived": false,
        "disabled": false,
        "open_issues_count": 1,
        "license": null,
        "forks": 0,
        "open_issues": 1,
        "watchers": 0,
        "default_branch": "master"
      }
    },
    "_links": {
      "self": {
        "href": "https://api.github.com/repos/robdodson/yaml-action/pulls/5"
      },
      "html": {
        "href": "https://github.com/robdodson/yaml-action/pull/5"
      },
      "issue": {
        "href": "https://api.github.com/repos/robdodson/yaml-action/issues/5"
      },
      "comments": {
        "href": "https://api.github.com/repos/robdodson/yaml-action/issues/5/comments"
      },
      "review_comments": {
        "href": "https://api.github.com/repos/robdodson/yaml-action/pulls/5/comments"
      },
      "review_comment": {
        "href": "https://api.github.com/repos/robdodson/yaml-action/pulls/comments{/number}"
      },
      "commits": {
        "href": "https://api.github.com/repos/robdodson/yaml-action/pulls/5/commits"
      },
      "statuses": {
        "href": "https://api.github.com/repos/robdodson/yaml-action/statuses/592c26ac799fb9e5b1d0d2d047f5082cdd434c16"
      }
    },
    "author_association": "OWNER",
    "draft": false,
    "merged": false,
    "mergeable": null,
    "rebaseable": null,
    "mergeable_state": "unknown",
    "merged_by": null,
    "comments": 0,
    "review_comments": 0,
    "maintainer_can_modify": false,
    "commits": 1,
    "additions": 1,
    "deletions": 1,
    "changed_files": 1
  },
  "repository": {
    "id": 240805508,
    "node_id": "MDEwOlJlcG9zaXRvcnkyNDA4MDU1MDg=",
    "name": "yaml-action",
    "full_name": "robdodson/yaml-action",
    "private": true,
    "owner": {
      "login": "robdodson",
      "id": 1066253,
      "node_id": "MDQ6VXNlcjEwNjYyNTM=",
      "avatar_url": "https://avatars0.githubusercontent.com/u/1066253?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/robdodson",
      "html_url": "https://github.com/robdodson",
      "followers_url": "https://api.github.com/users/robdodson/followers",
      "following_url": "https://api.github.com/users/robdodson/following{/other_user}",
      "gists_url": "https://api.github.com/users/robdodson/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/robdodson/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/robdodson/subscriptions",
      "organizations_url": "https://api.github.com/users/robdodson/orgs",
      "repos_url": "https://api.github.com/users/robdodson/repos",
      "events_url": "https://api.github.com/users/robdodson/events{/privacy}",
      "received_events_url": "https://api.github.com/users/robdodson/received_events",
      "type": "User",
      "site_admin": false
    },
    "html_url": "https://github.com/robdodson/yaml-action",
    "description": null,
    "fork": false,
    "url": "https://api.github.com/repos/robdodson/yaml-action",
    "forks_url": "https://api.github.com/repos/robdodson/yaml-action/forks",
    "keys_url": "https://api.github.com/repos/robdodson/yaml-action/keys{/key_id}",
    "collaborators_url": "https://api.github.com/repos/robdodson/yaml-action/collaborators{/collaborator}",
    "teams_url": "https://api.github.com/repos/robdodson/yaml-action/teams",
    "hooks_url": "https://api.github.com/repos/robdodson/yaml-action/hooks",
    "issue_events_url": "https://api.github.com/repos/robdodson/yaml-action/issues/events{/number}",
    "events_url": "https://api.github.com/repos/robdodson/yaml-action/events",
    "assignees_url": "https://api.github.com/repos/robdodson/yaml-action/assignees{/user}",
    "branches_url": "https://api.github.com/repos/robdodson/yaml-action/branches{/branch}",
    "tags_url": "https://api.github.com/repos/robdodson/yaml-action/tags",
    "blobs_url": "https://api.github.com/repos/robdodson/yaml-action/git/blobs{/sha}",
    "git_tags_url": "https://api.github.com/repos/robdodson/yaml-action/git/tags{/sha}",
    "git_refs_url": "https://api.github.com/repos/robdodson/yaml-action/git/refs{/sha}",
    "trees_url": "https://api.github.com/repos/robdodson/yaml-action/git/trees{/sha}",
    "statuses_url": "https://api.github.com/repos/robdodson/yaml-action/statuses/{sha}",
    "languages_url": "https://api.github.com/repos/robdodson/yaml-action/languages",
    "stargazers_url": "https://api.github.com/repos/robdodson/yaml-action/stargazers",
    "contributors_url": "https://api.github.com/repos/robdodson/yaml-action/contributors",
    "subscribers_url": "https://api.github.com/repos/robdodson/yaml-action/subscribers",
    "subscription_url": "https://api.github.com/repos/robdodson/yaml-action/subscription",
    "commits_url": "https://api.github.com/repos/robdodson/yaml-action/commits{/sha}",
    "git_commits_url": "https://api.github.com/repos/robdodson/yaml-action/git/commits{/sha}",
    "comments_url": "https://api.github.com/repos/robdodson/yaml-action/comments{/number}",
    "issue_comment_url": "https://api.github.com/repos/robdodson/yaml-action/issues/comments{/number}",
    "contents_url": "https://api.github.com/repos/robdodson/yaml-action/contents/{+path}",
    "compare_url": "https://api.github.com/repos/robdodson/yaml-action/compare/{base}...{head}",
    "merges_url": "https://api.github.com/repos/robdodson/yaml-action/merges",
    "archive_url": "https://api.github.com/repos/robdodson/yaml-action/{archive_format}{/ref}",
    "downloads_url": "https://api.github.com/repos/robdodson/yaml-action/downloads",
    "issues_url": "https://api.github.com/repos/robdodson/yaml-action/issues{/number}",
    "pulls_url": "https://api.github.com/repos/robdodson/yaml-action/pulls{/number}",
    "milestones_url": "https://api.github.com/repos/robdodson/yaml-action/milestones{/number}",
    "notifications_url": "https://api.github.com/repos/robdodson/yaml-action/notifications{?since,all,participating}",
    "labels_url": "https://api.github.com/repos/robdodson/yaml-action/labels{/name}",
    "releases_url": "https://api.github.com/repos/robdodson/yaml-action/releases{/id}",
    "deployments_url": "https://api.github.com/repos/robdodson/yaml-action/deployments",
    "created_at": "2020-02-16T00:00:43Z",
    "updated_at": "2020-03-06T15:56:44Z",
    "pushed_at": "2020-03-06T16:10:50Z",
    "git_url": "git://github.com/robdodson/yaml-action.git",
    "ssh_url": "git@github.com:robdodson/yaml-action.git",
    "clone_url": "https://github.com/robdodson/yaml-action.git",
    "svn_url": "https://github.com/robdodson/yaml-action",
    "homepage": null,
    "size": 47,
    "stargazers_count": 0,
    "watchers_count": 0,
    "language": "JavaScript",
    "has_issues": true,
    "has_projects": true,
    "has_downloads": true,
    "has_wiki": true,
    "has_pages": false,
    "forks_count": 0,
    "mirror_url": null,
    "archived": false,
    "disabled": false,
    "open_issues_count": 1,
    "license": null,
    "forks": 0,
    "open_issues": 1,
    "watchers": 0,
    "default_branch": "master"
  },
  "sender": {
    "login": "robdodson",
    "id": 1066253,
    "node_id": "MDQ6VXNlcjEwNjYyNTM=",
    "avatar_url": "https://avatars0.githubusercontent.com/u/1066253?v=4",
    "gravatar_id": "",
    "url": "https://api.github.com/users/robdodson",
    "html_url": "https://github.com/robdodson",
    "followers_url": "https://api.github.com/users/robdodson/followers",
    "following_url": "https://api.github.com/users/robdodson/following{/other_user}",
    "gists_url": "https://api.github.com/users/robdodson/gists{/gist_id}",
    "starred_url": "https://api.github.com/users/robdodson/starred{/owner}{/repo}",
    "subscriptions_url": "https://api.github.com/users/robdodson/subscriptions",
    "organizations_url": "https://api.github.com/users/robdodson/orgs",
    "repos_url": "https://api.github.com/users/robdodson/repos",
    "events_url": "https://api.github.com/users/robdodson/events{/privacy}",
    "received_events_url": "https://api.github.com/users/robdodson/received_events",
    "type": "User",
    "site_admin": false
  }
}
<!-- gh-comment-id:595879973 --> @robdodson commented on GitHub (Mar 6, 2020): ``` { "action": "opened", "number": 5, "pull_request": { "url": "https://api.github.com/repos/robdodson/yaml-action/pulls/5", "id": 384902507, "node_id": "MDExOlB1bGxSZXF1ZXN0Mzg0OTAyNTA3", "html_url": "https://github.com/robdodson/yaml-action/pull/5", "diff_url": "https://github.com/robdodson/yaml-action/pull/5.diff", "patch_url": "https://github.com/robdodson/yaml-action/pull/5.patch", "issue_url": "https://api.github.com/repos/robdodson/yaml-action/issues/5", "number": 5, "state": "open", "locked": false, "title": "sdfd", "user": { "login": "robdodson", "id": 1066253, "node_id": "MDQ6VXNlcjEwNjYyNTM=", "avatar_url": "https://avatars0.githubusercontent.com/u/1066253?v=4", "gravatar_id": "", "url": "https://api.github.com/users/robdodson", "html_url": "https://github.com/robdodson", "followers_url": "https://api.github.com/users/robdodson/followers", "following_url": "https://api.github.com/users/robdodson/following{/other_user}", "gists_url": "https://api.github.com/users/robdodson/gists{/gist_id}", "starred_url": "https://api.github.com/users/robdodson/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/robdodson/subscriptions", "organizations_url": "https://api.github.com/users/robdodson/orgs", "repos_url": "https://api.github.com/users/robdodson/repos", "events_url": "https://api.github.com/users/robdodson/events{/privacy}", "received_events_url": "https://api.github.com/users/robdodson/received_events", "type": "User", "site_admin": false }, "body": "", "created_at": "2020-03-06T16:11:17Z", "updated_at": "2020-03-06T16:11:17Z", "closed_at": null, "merged_at": null, "merge_commit_sha": null, "assignee": null, "assignees": [ ], "requested_reviewers": [ ], "requested_teams": [ ], "labels": [ ], "milestone": null, "commits_url": "https://api.github.com/repos/robdodson/yaml-action/pulls/5/commits", "review_comments_url": "https://api.github.com/repos/robdodson/yaml-action/pulls/5/comments", "review_comment_url": "https://api.github.com/repos/robdodson/yaml-action/pulls/comments{/number}", "comments_url": "https://api.github.com/repos/robdodson/yaml-action/issues/5/comments", "statuses_url": "https://api.github.com/repos/robdodson/yaml-action/statuses/592c26ac799fb9e5b1d0d2d047f5082cdd434c16", "head": { "label": "robdodson:act-test2", "ref": "act-test2", "sha": "592c26ac799fb9e5b1d0d2d047f5082cdd434c16", "user": { "login": "robdodson", "id": 1066253, "node_id": "MDQ6VXNlcjEwNjYyNTM=", "avatar_url": "https://avatars0.githubusercontent.com/u/1066253?v=4", "gravatar_id": "", "url": "https://api.github.com/users/robdodson", "html_url": "https://github.com/robdodson", "followers_url": "https://api.github.com/users/robdodson/followers", "following_url": "https://api.github.com/users/robdodson/following{/other_user}", "gists_url": "https://api.github.com/users/robdodson/gists{/gist_id}", "starred_url": "https://api.github.com/users/robdodson/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/robdodson/subscriptions", "organizations_url": "https://api.github.com/users/robdodson/orgs", "repos_url": "https://api.github.com/users/robdodson/repos", "events_url": "https://api.github.com/users/robdodson/events{/privacy}", "received_events_url": "https://api.github.com/users/robdodson/received_events", "type": "User", "site_admin": false }, "repo": { "id": 240805508, "node_id": "MDEwOlJlcG9zaXRvcnkyNDA4MDU1MDg=", "name": "yaml-action", "full_name": "robdodson/yaml-action", "private": true, "owner": { "login": "robdodson", "id": 1066253, "node_id": "MDQ6VXNlcjEwNjYyNTM=", "avatar_url": "https://avatars0.githubusercontent.com/u/1066253?v=4", "gravatar_id": "", "url": "https://api.github.com/users/robdodson", "html_url": "https://github.com/robdodson", "followers_url": "https://api.github.com/users/robdodson/followers", "following_url": "https://api.github.com/users/robdodson/following{/other_user}", "gists_url": "https://api.github.com/users/robdodson/gists{/gist_id}", "starred_url": "https://api.github.com/users/robdodson/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/robdodson/subscriptions", "organizations_url": "https://api.github.com/users/robdodson/orgs", "repos_url": "https://api.github.com/users/robdodson/repos", "events_url": "https://api.github.com/users/robdodson/events{/privacy}", "received_events_url": "https://api.github.com/users/robdodson/received_events", "type": "User", "site_admin": false }, "html_url": "https://github.com/robdodson/yaml-action", "description": null, "fork": false, "url": "https://api.github.com/repos/robdodson/yaml-action", "forks_url": "https://api.github.com/repos/robdodson/yaml-action/forks", "keys_url": "https://api.github.com/repos/robdodson/yaml-action/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/robdodson/yaml-action/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/robdodson/yaml-action/teams", "hooks_url": "https://api.github.com/repos/robdodson/yaml-action/hooks", "issue_events_url": "https://api.github.com/repos/robdodson/yaml-action/issues/events{/number}", "events_url": "https://api.github.com/repos/robdodson/yaml-action/events", "assignees_url": "https://api.github.com/repos/robdodson/yaml-action/assignees{/user}", "branches_url": "https://api.github.com/repos/robdodson/yaml-action/branches{/branch}", "tags_url": "https://api.github.com/repos/robdodson/yaml-action/tags", "blobs_url": "https://api.github.com/repos/robdodson/yaml-action/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/robdodson/yaml-action/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/robdodson/yaml-action/git/refs{/sha}", "trees_url": "https://api.github.com/repos/robdodson/yaml-action/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/robdodson/yaml-action/statuses/{sha}", "languages_url": "https://api.github.com/repos/robdodson/yaml-action/languages", "stargazers_url": "https://api.github.com/repos/robdodson/yaml-action/stargazers", "contributors_url": "https://api.github.com/repos/robdodson/yaml-action/contributors", "subscribers_url": "https://api.github.com/repos/robdodson/yaml-action/subscribers", "subscription_url": "https://api.github.com/repos/robdodson/yaml-action/subscription", "commits_url": "https://api.github.com/repos/robdodson/yaml-action/commits{/sha}", "git_commits_url": "https://api.github.com/repos/robdodson/yaml-action/git/commits{/sha}", "comments_url": "https://api.github.com/repos/robdodson/yaml-action/comments{/number}", "issue_comment_url": "https://api.github.com/repos/robdodson/yaml-action/issues/comments{/number}", "contents_url": "https://api.github.com/repos/robdodson/yaml-action/contents/{+path}", "compare_url": "https://api.github.com/repos/robdodson/yaml-action/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/robdodson/yaml-action/merges", "archive_url": "https://api.github.com/repos/robdodson/yaml-action/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/robdodson/yaml-action/downloads", "issues_url": "https://api.github.com/repos/robdodson/yaml-action/issues{/number}", "pulls_url": "https://api.github.com/repos/robdodson/yaml-action/pulls{/number}", "milestones_url": "https://api.github.com/repos/robdodson/yaml-action/milestones{/number}", "notifications_url": "https://api.github.com/repos/robdodson/yaml-action/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/robdodson/yaml-action/labels{/name}", "releases_url": "https://api.github.com/repos/robdodson/yaml-action/releases{/id}", "deployments_url": "https://api.github.com/repos/robdodson/yaml-action/deployments", "created_at": "2020-02-16T00:00:43Z", "updated_at": "2020-03-06T15:56:44Z", "pushed_at": "2020-03-06T16:10:50Z", "git_url": "git://github.com/robdodson/yaml-action.git", "ssh_url": "git@github.com:robdodson/yaml-action.git", "clone_url": "https://github.com/robdodson/yaml-action.git", "svn_url": "https://github.com/robdodson/yaml-action", "homepage": null, "size": 47, "stargazers_count": 0, "watchers_count": 0, "language": "JavaScript", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": true, "has_pages": false, "forks_count": 0, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 1, "license": null, "forks": 0, "open_issues": 1, "watchers": 0, "default_branch": "master" } }, "base": { "label": "robdodson:master", "ref": "master", "sha": "f389837adc460699775e74bed82209b7ed7baa30", "user": { "login": "robdodson", "id": 1066253, "node_id": "MDQ6VXNlcjEwNjYyNTM=", "avatar_url": "https://avatars0.githubusercontent.com/u/1066253?v=4", "gravatar_id": "", "url": "https://api.github.com/users/robdodson", "html_url": "https://github.com/robdodson", "followers_url": "https://api.github.com/users/robdodson/followers", "following_url": "https://api.github.com/users/robdodson/following{/other_user}", "gists_url": "https://api.github.com/users/robdodson/gists{/gist_id}", "starred_url": "https://api.github.com/users/robdodson/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/robdodson/subscriptions", "organizations_url": "https://api.github.com/users/robdodson/orgs", "repos_url": "https://api.github.com/users/robdodson/repos", "events_url": "https://api.github.com/users/robdodson/events{/privacy}", "received_events_url": "https://api.github.com/users/robdodson/received_events", "type": "User", "site_admin": false }, "repo": { "id": 240805508, "node_id": "MDEwOlJlcG9zaXRvcnkyNDA4MDU1MDg=", "name": "yaml-action", "full_name": "robdodson/yaml-action", "private": true, "owner": { "login": "robdodson", "id": 1066253, "node_id": "MDQ6VXNlcjEwNjYyNTM=", "avatar_url": "https://avatars0.githubusercontent.com/u/1066253?v=4", "gravatar_id": "", "url": "https://api.github.com/users/robdodson", "html_url": "https://github.com/robdodson", "followers_url": "https://api.github.com/users/robdodson/followers", "following_url": "https://api.github.com/users/robdodson/following{/other_user}", "gists_url": "https://api.github.com/users/robdodson/gists{/gist_id}", "starred_url": "https://api.github.com/users/robdodson/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/robdodson/subscriptions", "organizations_url": "https://api.github.com/users/robdodson/orgs", "repos_url": "https://api.github.com/users/robdodson/repos", "events_url": "https://api.github.com/users/robdodson/events{/privacy}", "received_events_url": "https://api.github.com/users/robdodson/received_events", "type": "User", "site_admin": false }, "html_url": "https://github.com/robdodson/yaml-action", "description": null, "fork": false, "url": "https://api.github.com/repos/robdodson/yaml-action", "forks_url": "https://api.github.com/repos/robdodson/yaml-action/forks", "keys_url": "https://api.github.com/repos/robdodson/yaml-action/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/robdodson/yaml-action/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/robdodson/yaml-action/teams", "hooks_url": "https://api.github.com/repos/robdodson/yaml-action/hooks", "issue_events_url": "https://api.github.com/repos/robdodson/yaml-action/issues/events{/number}", "events_url": "https://api.github.com/repos/robdodson/yaml-action/events", "assignees_url": "https://api.github.com/repos/robdodson/yaml-action/assignees{/user}", "branches_url": "https://api.github.com/repos/robdodson/yaml-action/branches{/branch}", "tags_url": "https://api.github.com/repos/robdodson/yaml-action/tags", "blobs_url": "https://api.github.com/repos/robdodson/yaml-action/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/robdodson/yaml-action/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/robdodson/yaml-action/git/refs{/sha}", "trees_url": "https://api.github.com/repos/robdodson/yaml-action/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/robdodson/yaml-action/statuses/{sha}", "languages_url": "https://api.github.com/repos/robdodson/yaml-action/languages", "stargazers_url": "https://api.github.com/repos/robdodson/yaml-action/stargazers", "contributors_url": "https://api.github.com/repos/robdodson/yaml-action/contributors", "subscribers_url": "https://api.github.com/repos/robdodson/yaml-action/subscribers", "subscription_url": "https://api.github.com/repos/robdodson/yaml-action/subscription", "commits_url": "https://api.github.com/repos/robdodson/yaml-action/commits{/sha}", "git_commits_url": "https://api.github.com/repos/robdodson/yaml-action/git/commits{/sha}", "comments_url": "https://api.github.com/repos/robdodson/yaml-action/comments{/number}", "issue_comment_url": "https://api.github.com/repos/robdodson/yaml-action/issues/comments{/number}", "contents_url": "https://api.github.com/repos/robdodson/yaml-action/contents/{+path}", "compare_url": "https://api.github.com/repos/robdodson/yaml-action/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/robdodson/yaml-action/merges", "archive_url": "https://api.github.com/repos/robdodson/yaml-action/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/robdodson/yaml-action/downloads", "issues_url": "https://api.github.com/repos/robdodson/yaml-action/issues{/number}", "pulls_url": "https://api.github.com/repos/robdodson/yaml-action/pulls{/number}", "milestones_url": "https://api.github.com/repos/robdodson/yaml-action/milestones{/number}", "notifications_url": "https://api.github.com/repos/robdodson/yaml-action/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/robdodson/yaml-action/labels{/name}", "releases_url": "https://api.github.com/repos/robdodson/yaml-action/releases{/id}", "deployments_url": "https://api.github.com/repos/robdodson/yaml-action/deployments", "created_at": "2020-02-16T00:00:43Z", "updated_at": "2020-03-06T15:56:44Z", "pushed_at": "2020-03-06T16:10:50Z", "git_url": "git://github.com/robdodson/yaml-action.git", "ssh_url": "git@github.com:robdodson/yaml-action.git", "clone_url": "https://github.com/robdodson/yaml-action.git", "svn_url": "https://github.com/robdodson/yaml-action", "homepage": null, "size": 47, "stargazers_count": 0, "watchers_count": 0, "language": "JavaScript", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": true, "has_pages": false, "forks_count": 0, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 1, "license": null, "forks": 0, "open_issues": 1, "watchers": 0, "default_branch": "master" } }, "_links": { "self": { "href": "https://api.github.com/repos/robdodson/yaml-action/pulls/5" }, "html": { "href": "https://github.com/robdodson/yaml-action/pull/5" }, "issue": { "href": "https://api.github.com/repos/robdodson/yaml-action/issues/5" }, "comments": { "href": "https://api.github.com/repos/robdodson/yaml-action/issues/5/comments" }, "review_comments": { "href": "https://api.github.com/repos/robdodson/yaml-action/pulls/5/comments" }, "review_comment": { "href": "https://api.github.com/repos/robdodson/yaml-action/pulls/comments{/number}" }, "commits": { "href": "https://api.github.com/repos/robdodson/yaml-action/pulls/5/commits" }, "statuses": { "href": "https://api.github.com/repos/robdodson/yaml-action/statuses/592c26ac799fb9e5b1d0d2d047f5082cdd434c16" } }, "author_association": "OWNER", "draft": false, "merged": false, "mergeable": null, "rebaseable": null, "mergeable_state": "unknown", "merged_by": null, "comments": 0, "review_comments": 0, "maintainer_can_modify": false, "commits": 1, "additions": 1, "deletions": 1, "changed_files": 1 }, "repository": { "id": 240805508, "node_id": "MDEwOlJlcG9zaXRvcnkyNDA4MDU1MDg=", "name": "yaml-action", "full_name": "robdodson/yaml-action", "private": true, "owner": { "login": "robdodson", "id": 1066253, "node_id": "MDQ6VXNlcjEwNjYyNTM=", "avatar_url": "https://avatars0.githubusercontent.com/u/1066253?v=4", "gravatar_id": "", "url": "https://api.github.com/users/robdodson", "html_url": "https://github.com/robdodson", "followers_url": "https://api.github.com/users/robdodson/followers", "following_url": "https://api.github.com/users/robdodson/following{/other_user}", "gists_url": "https://api.github.com/users/robdodson/gists{/gist_id}", "starred_url": "https://api.github.com/users/robdodson/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/robdodson/subscriptions", "organizations_url": "https://api.github.com/users/robdodson/orgs", "repos_url": "https://api.github.com/users/robdodson/repos", "events_url": "https://api.github.com/users/robdodson/events{/privacy}", "received_events_url": "https://api.github.com/users/robdodson/received_events", "type": "User", "site_admin": false }, "html_url": "https://github.com/robdodson/yaml-action", "description": null, "fork": false, "url": "https://api.github.com/repos/robdodson/yaml-action", "forks_url": "https://api.github.com/repos/robdodson/yaml-action/forks", "keys_url": "https://api.github.com/repos/robdodson/yaml-action/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/robdodson/yaml-action/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/robdodson/yaml-action/teams", "hooks_url": "https://api.github.com/repos/robdodson/yaml-action/hooks", "issue_events_url": "https://api.github.com/repos/robdodson/yaml-action/issues/events{/number}", "events_url": "https://api.github.com/repos/robdodson/yaml-action/events", "assignees_url": "https://api.github.com/repos/robdodson/yaml-action/assignees{/user}", "branches_url": "https://api.github.com/repos/robdodson/yaml-action/branches{/branch}", "tags_url": "https://api.github.com/repos/robdodson/yaml-action/tags", "blobs_url": "https://api.github.com/repos/robdodson/yaml-action/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/robdodson/yaml-action/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/robdodson/yaml-action/git/refs{/sha}", "trees_url": "https://api.github.com/repos/robdodson/yaml-action/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/robdodson/yaml-action/statuses/{sha}", "languages_url": "https://api.github.com/repos/robdodson/yaml-action/languages", "stargazers_url": "https://api.github.com/repos/robdodson/yaml-action/stargazers", "contributors_url": "https://api.github.com/repos/robdodson/yaml-action/contributors", "subscribers_url": "https://api.github.com/repos/robdodson/yaml-action/subscribers", "subscription_url": "https://api.github.com/repos/robdodson/yaml-action/subscription", "commits_url": "https://api.github.com/repos/robdodson/yaml-action/commits{/sha}", "git_commits_url": "https://api.github.com/repos/robdodson/yaml-action/git/commits{/sha}", "comments_url": "https://api.github.com/repos/robdodson/yaml-action/comments{/number}", "issue_comment_url": "https://api.github.com/repos/robdodson/yaml-action/issues/comments{/number}", "contents_url": "https://api.github.com/repos/robdodson/yaml-action/contents/{+path}", "compare_url": "https://api.github.com/repos/robdodson/yaml-action/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/robdodson/yaml-action/merges", "archive_url": "https://api.github.com/repos/robdodson/yaml-action/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/robdodson/yaml-action/downloads", "issues_url": "https://api.github.com/repos/robdodson/yaml-action/issues{/number}", "pulls_url": "https://api.github.com/repos/robdodson/yaml-action/pulls{/number}", "milestones_url": "https://api.github.com/repos/robdodson/yaml-action/milestones{/number}", "notifications_url": "https://api.github.com/repos/robdodson/yaml-action/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/robdodson/yaml-action/labels{/name}", "releases_url": "https://api.github.com/repos/robdodson/yaml-action/releases{/id}", "deployments_url": "https://api.github.com/repos/robdodson/yaml-action/deployments", "created_at": "2020-02-16T00:00:43Z", "updated_at": "2020-03-06T15:56:44Z", "pushed_at": "2020-03-06T16:10:50Z", "git_url": "git://github.com/robdodson/yaml-action.git", "ssh_url": "git@github.com:robdodson/yaml-action.git", "clone_url": "https://github.com/robdodson/yaml-action.git", "svn_url": "https://github.com/robdodson/yaml-action", "homepage": null, "size": 47, "stargazers_count": 0, "watchers_count": 0, "language": "JavaScript", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": true, "has_pages": false, "forks_count": 0, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 1, "license": null, "forks": 0, "open_issues": 1, "watchers": 0, "default_branch": "master" }, "sender": { "login": "robdodson", "id": 1066253, "node_id": "MDQ6VXNlcjEwNjYyNTM=", "avatar_url": "https://avatars0.githubusercontent.com/u/1066253?v=4", "gravatar_id": "", "url": "https://api.github.com/users/robdodson", "html_url": "https://github.com/robdodson", "followers_url": "https://api.github.com/users/robdodson/followers", "following_url": "https://api.github.com/users/robdodson/following{/other_user}", "gists_url": "https://api.github.com/users/robdodson/gists{/gist_id}", "starred_url": "https://api.github.com/users/robdodson/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/robdodson/subscriptions", "organizations_url": "https://api.github.com/users/robdodson/orgs", "repos_url": "https://api.github.com/users/robdodson/repos", "events_url": "https://api.github.com/users/robdodson/events{/privacy}", "received_events_url": "https://api.github.com/users/robdodson/received_events", "type": "User", "site_admin": false } } ```
Author
Owner

@robdodson commented on GitHub (Mar 6, 2020):

Currently the repo is private. I can make it public if that would help.

<!-- gh-comment-id:595880266 --> @robdodson commented on GitHub (Mar 6, 2020): Currently the repo is private. I can make it public if that would help.
Author
Owner

@cplee commented on GitHub (Mar 6, 2020):

@robdodson - that would help...can't access the PR:

[Lint front matter/Linter] Run Git diff
[Lint front matter/Linter] ☁ git clone 'https://github.com/futuratrepadeira/changed-files' # ref=v3.0.1
[Lint front matter/Linter] 🐳 docker cp src=/Users/casey/.cache/act/futuratrepadeira-changed-files@v3.0.1 dst=/actions/
[Lint front matter/Linter] ::error::HttpError: Not Found
[Lint front matter/Linter] ::error::Not Found
[Lint front matter/Linter] Failure - Git diff

<!-- gh-comment-id:595888099 --> @cplee commented on GitHub (Mar 6, 2020): @robdodson - that would help...can't access the PR: [Lint front matter/Linter] ⭐ Run Git diff [Lint front matter/Linter] ☁ git clone 'https://github.com/futuratrepadeira/changed-files' # ref=v3.0.1 [Lint front matter/Linter] 🐳 docker cp src=/Users/casey/.cache/act/futuratrepadeira-changed-files@v3.0.1 dst=/actions/ [Lint front matter/Linter] ❗ ::error::HttpError: Not Found [Lint front matter/Linter] ❗ ::error::Not Found [Lint front matter/Linter] ❌ Failure - Git diff
Author
Owner

@robdodson commented on GitHub (Mar 6, 2020):

Try now. In the workflow.yml you'll need to change ./.github/actions/lint-yaml to ./.github/actions/lint-front-matter.

<!-- gh-comment-id:595898891 --> @robdodson commented on GitHub (Mar 6, 2020): Try now. In the workflow.yml you'll need to change `./.github/actions/lint-yaml` to `./.github/actions/lint-front-matter`.
Author
Owner

@cplee commented on GitHub (Mar 6, 2020):

fixed in master, will cut a release later today

<!-- gh-comment-id:595925817 --> @cplee commented on GitHub (Mar 6, 2020): fixed in master, will cut a release later today
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/act#85
No description provided.