Code Monkey home page Code Monkey logo

actions-variable-groups's People

Contributors

dependabot[bot] avatar joshjohanning avatar lindluni avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

joshjohanning

actions-variable-groups's Issues

Can't find variable yml file in > 2.1.0

I have a repo (myrepo) that runs a workflow. The repo also has a export.yml file in the root. I'm unable to get the action to pick up that file:

v1 works:
image

v2 does not work:
image

In my tests, it looks like it broke between 2.0.0..2.1.0.

I tried not putting it a different folder other than the .github folder and it still fails, and trying to use a PAT even though it's in the same repo as the workflow is running.

      - name: Inject Variables
        uses: lindluni/actions-variable-groups@v2
        with:
          org: ${{ github.REPOSITORY_OWNER }}
          repo: ${{ github.event.repository.name }}
          token: ${{ secrets.MY_PAT }}
          groups: |
            export.yml

Error: Fail to retrieve files src/variableGroups/lz-dev.yaml: Bad credentials

I am trying to use this action in an Enterrise environment as a local action (company does not allow me to pull from non-verified creators.
I am getting

Error: Fail to retrieve files src/variableGroups/lz-dev.yaml: Bad credentials

when i try to run this.
My env is:

  • private runner accesing the repo and running the code.
  • create variables to use further on

I used a token generated by me, i'm owner on the repo, but it did not work.

Error: Fail to retrieve files ci_environment.yml: Not Found

Hi Brett!

I have a private org and have 2 repos in there, variableGroups and scheduleTask, and I am not able to get the variable group, in variableGroups repo I only have that single File, no typos I am 100% sure

since both repos are in same org I assume there is no need for token (PAT?)

error message

Run lindluni/actions-variable-groups@main
  
Processing group ci_environment.yml@master
Retrieving files for group ci_environment.yml
Error: Fail to retrieve files ci_environment.yml: Not Found

this is the step I have in the workflow

      - uses: lindluni/actions-variable-groups@main
        with:
          org: myOrg #is private :(
          repo: variableGroups
          groups: ci_environment.yml@master

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.