lindluni / actions-variable-groups Goto Github PK
View Code? Open in Web Editor NEWGitHub Action for injecting variables from source files
License: MIT License
GitHub Action for injecting variables from source files
License: MIT License
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:
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
is there a way to specify the branch where the variable file is using the repo url? Currently it defaults to main.
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:
I used a token generated by me, i'm owner on the repo, but it did not work.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.