how to override "source version" in github actions?
See original GitHub issueHello,
What I’d like to have is a workflow in github actions that triggers for every branch on push (defined in a workflow in master
default branch).
This workflow should trigger aws-codebuild-run-build
action & the codebuild project should download source from a branch some_branch
.
If I understood correctly, aws-codebuild-run-build
overrides the source version to the triggering commit, regardless of the settings in the codebuild project.
How do I make sure that codebuild is going to get source from the specified branch some_branch
?
Thanks!
Issue Analytics
- State:
- Created 3 years ago
- Reactions:13
- Comments:12
Top Results From Across the Web
Update a GitHub version 1 source action to a GitHub version 2 ...
Step 1: Replace your version 1 GitHub actionStep 2: Create a connection to GitHubStep 3: ... there are two supported versions of the...
Read more >Is there a way to override GitHub context variables in GitHub ...
I tried to override a GitHub context variable, but I could only add a different value as an env variable ( ${{ env.GITHUB_EVENT_NAME...
Read more >How to use GitHub Actions environment variables - Snyk
You can use job environment variables to override a workflow-level environment if a specific job requires a different value for an already ...
Read more >Override hardcoded registry and image name ? - GoReleaser
To get more detail about the GoReleaser's GitHub Action, please see. ... goreleaser/goreleaser-action@v4 with: distribution: goreleaser version: latest ...
Read more >Terraform Module Versioning for Git Sources - Medium
TL;DR — set up a Github Action to override v1 and v1.2 when tagging v1.2.3, then be able to specify either v1 or...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Seems that PR https://github.com/aws-actions/aws-codebuild-run-build/pull/62 tries to address this.
This action should support all of the source version syntax as specified by https://docs.aws.amazon.com/codebuild/latest/userguide/sample-source-version.html