Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove comments from uses #87

Merged
merged 1 commit into from
Aug 29, 2023
Merged

Conversation

joshjohanning
Copy link
Contributor

@joshjohanning joshjohanning commented Aug 29, 2023

馃摑 Summary

copilot:summary

馃攳 Details

copilot:walkthrough

馃敆 Related Issues

What's changing:

When retrieving actions (uses), remove comments from the version string.

old:

  {
    "id": "W_kwDOJBtUvM4C-vXs",
    "owner": "joshjohanning-org",
    "repo": "actions-linter-testing",
    "name": "lint-test-cases",
    "workflow": ".github/workflows/lint-testing.yml",
    "state": "active",
    "created_at": "2023-03-02T16:51:56.000Z",
    "updated_at": "2023-03-02T16:51:56.000Z",
    "last_run_at": "2023-06-20T20:11:59.000Z",
    "uses": [
      "actions/checkout@main",
      "actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c",
      "actions/checkout@v3",
      "actions/checkout@v3.3.0",
      "actions/checkout@my-fake-branch",
      "actions/checkout@v3.1.0 # comment",
      "actions/checkout@my-other-fake-branch # comment",
      "actions/checkout@f71ab79f16dc8b6696053fa03f046952569bc776 #comment"
    ]
  },

new:

    {
        "id": "W_kwDOJBtUvM4C-vXs",
        "owner": "joshjohanning-org",
        "repo": "actions-linter-testing",
        "name": "lint-test-cases",
        "workflow": ".github/workflows/lint-testing.yml",
        "state": "active",
        "created_at": "2023-03-02T16:51:56.000Z",
        "updated_at": "2023-03-02T16:51:56.000Z",
        "last_run_at": "2023-06-20T20:11:59.000Z",
        "uses": [
            "actions/checkout@main",
            "actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c",
            "actions/checkout@v3",
            "actions/checkout@v3.3.0",
            "actions/checkout@my-fake-branch",
            "actions/checkout@v3.1.0",
            "actions/checkout@my-other-fake-branch",
            "actions/checkout@f71ab79f16dc8b6696053fa03f046952569bc776"
        ]
    },

@stoe stoe bot enabled auto-merge (squash) August 29, 2023 14:09
Copy link
Owner

@stoe stoe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@joshjohanning, this is a great addition.

Thank you for tour contribution.
馃悪馃惐馃挅

@stoe stoe bot merged commit 58a04a8 into stoe:main Aug 29, 2023
6 checks passed
@stoe stoe added bug 馃悰 Something not working? feature-request 馃毀 Want something new? and removed bug 馃悰 Something not working? labels Aug 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request 馃毀 Want something new?
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants