Coder Social home page Coder Social logo

resnovas / smartcloud Goto Github PK

View Code? Open in Web Editor NEW
11.0 11.0 3.0 114.17 MB

A collection of epic level Github Actions. The masterminds behind our advanced Github project management.

Home Page: https://resnovas.github.io/smartcloud/

JavaScript 3.60% TypeScript 96.40%

smartcloud's Introduction

Resnovas

smartcloud's People

Contributors

dependabot[bot] avatar fossabot avatar github-actions[bot] avatar ivanfon avatar jbinda avatar tgtgamer avatar web-flow avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

smartcloud's Issues

feat(release): Project Card Management

My feature request explained

Tools to manage and maintain project cards

  • Enforce conventions
  • Synchronise card movements with remote project board (org boards)

feature(@videndum/release-mastermind): HasConflict trigger

Discussed in TGTGamer/SCAA#218

Originally posted by ssfxate September 9, 2021
Hey, thank you for the great GH action. I really happy with it.

Is it possible to label a PR due to occured conflict with the a branch?

Current response:

Originally posted by **TGTGamer** September 11, 2021 So looking through the API documentation, the simple method I was hoping would work doesn't have an endpoint that I can use. What I would need to do is compare the commits on all the pull requests and test for a conflict that way.

This information has been documented here: https://stackoverflow.com/questions/34011782/how-to-resolve-conflict-with-merging-with-github-api

I will add it to the backlog to do, however, I have other higher priority issues to address first, which will enable much-needed functionality in this action.

I will aim to have this in progress by the end of the month, once other git actions have been enabled within the action.

bug(release): New error thrown when attempting to add to project "Developer Operations"

Sentry Issue: RELEASE-MASTERMIND-2C

New error thrown when attempting to add to project "Developer Operations" HttpError: Validation Failed: {"resource":"ProjectCard","code":"unprocessable","field":"data","message":"Could not resolve to a node with the global id of 'MDExOlB1bGxSZXF1ZXN0NzcxMjg0NzMy'."}: New error thrown when attempting to add to project "Developer Operations" HttpError: Validation Failed: {"resource":"ProjectCard","code":"unprocessable","field":"data","message":"Could not resolve to a node with the global id of 'MDExOlB1bGxSZXF1ZXN0...
  File "app:///../webpack:/@videndum/convential-pr-releases/lib/contexts/methods/assignProject.js", line 41, in null.<anonymous>
  File "app:///../webpack:/@videndum/convential-pr-releases/lib/contexts/methods/assignProject.js", line 38, in null.<anonymous>

bug(release): wrong type used in PRConditionConfig

https://github.com/Videndum/action-masterminds/blob/dc835239bbb677190b59b21e580388b281c53673/packages/release-mastermind/types.d.ts#L118-L121

Should be:

 export interface PRConditionConfig { 
   requires: number 
   conditions: PRCondition[] 
 } 

But throws error:

src/evaluator.ts(57,33): error TS2345: Argument of type 'PRCondition[] | Condition[] | ProjectCondition[]' is not assignable to parameter of type 'PRCondition[]'.
  Type 'ProjectCondition[]' is not assignable to type 'PRCondition[]'.
    Type 'ProjectCondition' is not assignable to type 'PRCondition'.
      Type 'ConditiononColumn' is not assignable to type 'PRCondition'.
        Property 'value' is missing in type 'ConditiononColumn' but required in type 'ConditionisApproved'.

bug(util): color not updating in labels

Color doesn't work at all actually (Except documentation is generated)
image
config has the attribute in the following format: "color": "3ea2e6"

Originally posted by @Netail in #165 (reply in thread)

Heya @Netail, to help me identify and fix this issue, could you provide the following?

Console Logs
Please set the ACTIONS_RUNNER_DEBUG secret to true to enable debug logging, rerun the labeler workflow

Labels Config
Please could you upload a git or attach a copy of how you have your labels configured. This can either be just the label section or the entire config file depending on how large it is.

feat(release): delete labels

My feature request explained

I keep meaning to do this but keep forgetting, so lets actually create a ticket for it.

enhance(@videndum/release-mastermind): change was isApproved handles pending approvals

Discussed in TGTGamer/SCAA#224

Originally posted by ssfxate September 15, 2021
In our project we should have at least 2 approves, but requested reviewers could me more than 2.
2 isn't the max value. It's just the min value, but reviewers could be more, so approves could be more as well.

Have you got the same scheme (requirements) somewhere in a company/project?

We need to add options to mark / label as approved when there are still pending approvals.

feat(label): requests from IvanFon's repo need working on

My feature request explained

Merge all current open proposals on IvanFon

feat(util): Skip Label Delete

Currently, the action will default to deleting the labels which do not exist in the configuration. We need an option to change this behaviour.

maintenance(@videndum/release-mastermind): refactor contextHandler to static call within context files

Maintenance Required

Type: Refactoring
Assignee: @TGTGamer
Risk: Low

Refactor the contextHandler.ts into ./src/contexts/ folder as static calls within classes

https://github.com/Videndum/Smartcloud/blob/5fbd201d7edfc6f32b34105a15729384bfcae134/package.json#L12-L16

Improvements

Reduction in files that need to be maintained - easier to follow code

Expected risks

Potential to break the context handling

Involved components

All components

๐Ÿ› bug(condition): Test 2

Describe the bug

To Reproduce

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behaviour

Screenshots

Console Logs

insert debug output here

Device Information

  • Version: [e.g. 22]
  • Platform: [e.g. macOS, Google Cloud, ubuntu 18.04]
  • Browser: [e.g. stock browser, safari]
  • Node Version: [e.g. v16.8.0]
  • Yarn Version: [e.g. v1.22.4]
  • Docker Version: [e.g. Docker version 19.03.12, build 48a66213fe]
  • Package(s): [e.g. @resnovas/release-manager]
  • URL: [e.g. https://console.smartcloud.gg/admin]

Additional context

Bug Checklist

  • Have reproduced on my application version
  • Have reproduced on a clean installation
  • Have reproduced on a development build
  • Have included logs or screenshots
  • Have contacted support via the official website
  • Have asked the community for guidance
  • Have linked any related issues
  • Bug confirmed by

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.