question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

how to override "source version" in github actions?

See original GitHub issue

Hello,

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:open
  • Created 3 years ago
  • Reactions:13
  • Comments:12

github_iconTop GitHub Comments

1reaction
kimmoahokascommented, Nov 24, 2021
1reaction
solarmosaic-kflorencecommented, Aug 19, 2021

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found