Git Product home page Git Product logo

linguist-action's Introduction

Hey there! ๐Ÿ‘‹

fabasoad.com LinkedIn GitHub Stars GitHub Sponsors

I'm Eugene, Senior Software Engineer in Woven by Toyota. I am part of Application Security team. I am passionate about writing code, and solving complex problems. Also, I play guitar, enjoy gym and love watching movies. Based in Tokyo.

  • ๐Ÿ” Currently almost 100% of my time I am working on building and delivering Application Security GitHub Actions across the organization.
  • ๐ŸŽจ I know how to create scalable frontend projects using React, TypeScript, SASS and yarn/npm (business-card).
  • โ˜๏ธ I know how to create infrastructure projects using Terraform and AWS (business-card-deployment).
  • ๐Ÿ”Œ I know how to create scalable backend services using Java, Go or Python.
  • ๐Ÿค– I know how to configure CI/CD automation to reduce toil as much as possible, so that all the SDLC stages are automated as necessary (1, 2, 3, etc.).
  • ๐ŸŽฏ I know how to work with GitHub Actions from creation stage till delivery stage across the organization in scalable and reliable way (OSS GitHub Actions).
  • ๐Ÿชข I can write scripts to automate work or reduce toil using Bash, POSIX or Python (scripts).
  • ๐Ÿ™Œ Actively contribute to OSS projects (1, 2, 3, etc.).

Technologies & Tools

linguist-action's People

Contributors

fabasoad avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

linguist-action's Issues

Add unit tests

Is your feature request related to a problem? Please describe.
Add unit tests to be sure that functionality works as expected.

Describe the solution you'd like
Cover linguist.rb by unite tests. Add unit testing to CI pipeline.

Describe alternatives you've considered
Functional tests for now.

Additional context
N/A

Possible permissions error preventing linguist-action environment variable output

Describe the bug

Linguist-action has stopped outputting data as environment variables, making the data inaccessible to other actions in a workflow.

Steps to Reproduce

  1. Run linguist-action in a workflow using the following configuration
      - name: Linguist Action
        uses: fabasoad/[email protected]
        id: linguist
        with:
          path: './'
          percentage: true
  1. See error /linguist.rb:15:in 'new': repository path '/github/workspace/' is not owned by current user (Rugged::ConfigError) from /linguist.rb:15:in '<main>'

Expected behavior

The expectation is that linguist-action would output a environment variable that would be accessible to other actions in a workflow.

Actual behavior

There is no environment variable.

Screenshots

image

There is supposed to be a variable called REPO_LANGS (derived from ${{ steps.linguist.outputs.data }} in the workflow file below) in the with: section of the logs.

Technical information (please complete the following information)

  • OS: ubuntu-latest
  • linguist-action version 1.0.2
  • Full workflow:
name: multigitminder
on:
  push:
    branches: [ main, lang-bug ]
  issues:
    types: [ closed ]

jobs:
  multigitminder:
    runs-on: ubuntu-latest
    name: multigitminder
    steps:
      # Checkout
      - name: Checkout
        uses: actions/checkout@v2
      - name: "TODO to Issue"
        uses: "alstr/[email protected]"
        id: "todo"
        with:
          TOKEN: ${{ secrets.GITHUB_TOKEN }}
          CLOSE_ISSUES: false
      # Linguist
      - name: Linguist Action
        uses: fabasoad/[email protected]
        id: linguist
        with:
          path: './'
          percentage: true
      # multigitminder
      - name: multigitminder
        uses: HaydenMacDonald/[email protected]
        id: multigitminder
        with:
          USERNAME: ${{ secrets.BEEMINDER_USERNAME }}
          AUTH_TOKEN: ${{ secrets.BEEMINDER_AUTH_TOKEN }}
          GOAL: multigitminder
          TARGET_LANGS: Python ## e.g. "['python', 'dockerfile', 'javascript']" or simply Python
          REPO_LANGS: ${{ steps.linguist.outputs.data }}

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.