Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
40 views

I’m trying to implement a Vault token retrieval using the JWT auth method in a GitHub Actions workflow. I’m evaluating two approaches: Scenario 1 – Composite Action Advantage: Token can be retrieved ...
hb.Sara's user avatar
  • 351
0 votes
0 answers
69 views

Here is my current workflow step names and its timings that it takes. I am using actions/create-github-app-token@v1 as recommended. Checkout code: 1 second Set up Node.js: 1 second Calculate ...
Suhas Chandrashekar's user avatar
1 vote
1 answer
254 views

This is my simplified GitHub Actions workflow structure. I have application repository (app_repo) which has build_and_deploy workflow. This workflow is using reusable workflow from the action_repo, ...
Dmitrij Kultasev's user avatar
0 votes
0 answers
155 views

I'm creating a reusable workflow. I want to implement a dynamic if condition in one of the steps. I want the users to be able to pass a certain input which is evaluated in the if condition, but if the ...
vin'm's user avatar
  • 2,311
2 votes
1 answer
1k views

On GitHub, I use a private repository for reusable workflows and composite actions named private-workflows. In another private repository, e.g. named project-repo, I use those workflows and actions in ...
Rüdiger Schulz's user avatar
0 votes
1 answer
110 views

This is my setup.yml for one reusable workflow on: workflow_call: secrets: ssh_private_key: required: true known_hosts: required: true jobs: setup: name: '...
anas's user avatar
  • 167
-1 votes
1 answer
51 views

I'm pretty sure I'm misunderstanding something here about how GitHub actions work and would love some help. When this debugging.yml action runs on pull_request it looks to see if any files have ...
tkunovsky's user avatar
0 votes
1 answer
237 views

I am using GitHub Actions workflow for CI/CD. The main workflow uses a reusable workflow to deploy AWS CDK applications. Currently this uses just one command passed into the reusable workflow and ...
user20358's user avatar
  • 14.8k
1 vote
2 answers
1k views

I have a reusable workflow that I have created in Github Actions, it uses AWS CodeBuild as a runner i.e. jobs: docker: runs-on: codebuild-XXX-XXX-${{ github.run_id }}-${{ github.run_attempt }} ...
Grilla99's user avatar
2 votes
0 answers
437 views

Overview I have a collection of reusable workflows and actions that are needed in multiple repositories. I want to store these in a single "infra" repo. There is a single entry point, a ...
Allison Piper's user avatar
0 votes
1 answer
384 views

I've got about 40 repos that run nearly the same basic Build & Test workflow, and I'd like to make it a reusable workflow. name: Build & Test on: [push, pull_request] jobs: test: runs-on:...
olive20xx's user avatar
0 votes
1 answer
1k views

I am trying to access files at relative path to reusable workflow. For example I trying to create following directory structure so that when workflow is called {owner}/{repo}/{path}/{filename}@{ref}, ...
Sandy's user avatar
  • 14.2k
-2 votes
2 answers
692 views

I'm having trouble passing inputs from my main workflow to a reusable workflow. I pass a string using with so that I can access it from inputs, and then I supply inputs.myvar to the relevant step as ...
Patrick Kenny's user avatar
0 votes
0 answers
49 views

I have the following 3 GHA workflows. Note that reusable.yml lives in its own repo: push-client.yml: name: Execute on push on: push: jobs: deploy: uses: <my-org>/<reusable-...
jrbe228's user avatar
  • 636
3 votes
0 answers
74 views

Right now I have this workflow: name: Deployment-CI/CD on: push: branches: - v3.0.0_workflows_single_job pull_request: branches: - "master" types: [closed] jobs: ...
Stoyan Grozdev's user avatar
1 vote
0 answers
896 views

I am having a reusable workflow running two separate reusable workflows: a get-variable, which outputs a long string variable and a use-variable. My use-variable workflow is simply looking like this ...
Tarta's user avatar
  • 2,117
0 votes
0 answers
549 views

Consider the below scenario: sample_one organization has one repository called one_repo sample_two organization has one repository called two_repo one_repo has a reusable workflow that needs to be ...
Rezzerk's user avatar
1 vote
1 answer
2k views

I have a Python script that scrapes files to search for a regex pattern. I would like to run this script using a Github Action. Furthermore, I want this same action and script to be used in several ...
Korean_Of_the_Mountain's user avatar
1 vote
3 answers
1k views

I have a workflow which is calling a reusable workflow. This caller workflow is defined with name: My CI Pipeline on: push: branches: [ "master" ] concurrency: group: ${{ github....
du-it's user avatar
  • 3,039
0 votes
0 answers
250 views

I am facing an issue with getting the matrix build output for each step and running something after that, using a GitHub reusable workflow. jobs: deploy: strategy: matrix: jdk: [8, ...
new_bie's user avatar
  • 27
1 vote
0 answers
505 views

I have a reusable workflow that has 4 jobs in it. Lets say, A, B, C and D. Now in my caller workflow i have two jobs Job1 : calls the reusable workflow Job2 : Comments to PR if any of B, C or D ...
ASHISH M.G's user avatar
10 votes
1 answer
2k views

I have a GH workflow with multiple jobs that are executed after each. These jobs are defined in other files. name: pipeline on: workflow_dispatch: jobs: Init: uses: ./.github/workflows/init....
Christopher's user avatar
  • 1,243
1 vote
0 answers
50 views

I would like to use an admin repo, where some Github actions should be developed and some static config files should be set. The idea is then to use Backstage to use the admin repo as a template. I ...
Developer's user avatar
  • 976
1 vote
0 answers
832 views

Note: Both the caller and called reusable repo are public and their permissions are correctly set. Below is my caller repo actions_param workflow test.yml: name: TEST main xml read on: push: ...
Ashar's user avatar
  • 3,215
1 vote
1 answer
1k views

I'm trying to make use of variables instead of secrets because some of the secrets are not really secrets so wanted to make it nicer, however, I'm having a bit of a fight here. The first one runs ok ...
Nino Matos's user avatar
0 votes
1 answer
2k views

We try to pass some env variables using a workaround to the reusable workflow as follows, but no variables are passed. Workflow YAML is: name: "call my_reusable_workflow" on: ...
Sheli's user avatar
  • 1
7 votes
0 answers
2k views

Context A reusable workflow in public repos may be called by appending a reference which can be a SHA, a release tag, or a branch name, as for example: {owner}/{repo}/.github/workflows/{filename}@{ref}...
Kay's user avatar
  • 654
2 votes
0 answers
606 views

I have a github action that has a build phase that installs some libraries, then builds the project, then runs some tests. Concretely it looks like: jobs: build: runs-on: ubuntu-latest steps:...
martin's user avatar
  • 41
1 vote
0 answers
686 views

The Github actions documentation on reusable workflows specifies the syntax to pass secrets from caller workflow to the called workflow using the secrets: inherit tag. However, when I copy this I get ...
Alex Borgognoni's user avatar
2 votes
1 answer
6k views

I have a scan tool that is being run manually using workflow_dispatch event. Now I want to use it automatically for all other repos. So I went with reusable workflows. But I'm getting issues there. I ...
Shivam Singh's user avatar
2 votes
2 answers
4k views

I have a GitHub repository (repo A) with a workflow running inside that repo (working with Terraform file and applying them on AWS). I am trying to trigger that workflow from a different GitHub ...
Yuval Podoksik's user avatar
2 votes
1 answer
677 views

I have a simple workflow that calls a reusable workflow to build a container image. In my case the job won't start as scheduled at all. I know the trigger schedule will only work from the master ...
Andre Santana's user avatar
2 votes
1 answer
1k views

I need to maintain a default that will be used for PRs and workflow_dispatch. Following is the pattern I'm trying to use, but I get an error when trying to access the env.var. How am I going wrong ...
rainabba's user avatar
  • 4,328