File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # # B-Open Solutions Ltd.
2+ # # CI/CD workflows
3+
4+ on :
5+ workflow_dispatch :
6+ workflow_call :
7+ inputs :
8+ branch :
9+ description : " Branch to check for existence (e.g., 'upstream/b-open')"
10+ required : true
11+ chart-repo :
12+ description : " GitHub repository in 'owner/repo' format (e.g., 'ecmwf/dss-broker-chart')"
13+ required : true
14+ image_name :
15+ description : " Name of the Docker image to build (e.g., 'broker')"
16+ required : true
17+ repositories :
18+ description : " Optional list of additional repositories to check (newline-separated)"
19+ required : false
20+ secrets :
21+ github-pat :
22+ description : " PAT token to access the repo"
23+ required : true
24+
25+ jobs :
26+ validate-branch :
27+ runs-on : ubuntu-latest
28+ steps :
29+ - name : Validate branch existence
30+ if : ${{ inputs.branch == 'upstream/b-open' }}
31+ shell : bash
32+ env :
33+ GITHUB_PAT : ${{ inputs.github-pat }}
34+ run : |
35+ # Debugging Info (Safe)
36+ echo "Validating the GitHub PAT"
You can’t perform that action at this time.
0 commit comments