Skip to content

Maintenance: Lint GitHub Actions workflow #1332

Closed

Description

@heitorlessa

Summary

GitHub provides linting for Actions in the editor console only. We could automate linting as a pre-commit hook and/or an action to validate workflows: https://github.com/rhysd/actionlint

In the first attempt there were some false positives due to shellcheck integration but may be easy to disable as we move most of our logic to Github-script.

Why is this needed?

We've had several issues with GitHub Actions in the past week due to bad syntax or using an unsupported syntax in blocks of a workflow - this could've caught early.

Which area does this relate to?

Automation

Solution

No response

Acknowledgment

Activity

  1. added
    triage
    internal
    on Jul 21, 2022
  2. removed
    triage
    on Aug 8, 2022
  3. self-assigned this
    on Aug 25, 2022
  4. added
    pending-release
    on Aug 25, 2022
  5. removed their assignment
    on Aug 29, 2022
  6. heitorlessa commented on Sep 1, 2022

    @heitorlessa
    ContributorAuthor

    fully working now

  7. github-actions commented on Sep 1, 2022

    @github-actions
    Contributor

    ⚠️COMMENT VISIBILITY WARNING⚠️

    This issue is now closed. Please be mindful that future comments are hard for our team to see.

    If you need more assistance, please either tag a team member or open a new issue that references this one.

    If you wish to keep having a conversation with other community members under this issue feel free to do so.

  8. github-actions commented on Sep 13, 2022

    @github-actions
    Contributor

    This is now released under 1.29.0 version!

  9. removed
    pending-release
    on Sep 13, 2022
  10. added
    tech-debt
    and removed
    internal
    on Apr 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    tech-debt

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions