bitovi / bitovi/github-actions-deploy-ops-repo

Calling for a specific branch does not seem to work

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

tested with a pipeline in the ops repo that had not been created in `main`, yet
- create branch in ops repo
- create a new pipeline in ops repo
- try to trigger pipeline as follows:
```
deploy:
# only deploy if not pull request
runs-on: ubuntu-latest
steps:
- name: Deploy Stage
uses: bitovi/github-actions-bitops-ci-cd@0.5.0
with:
github-token: ${{ secrets.OPERATIONS_REPO_TOKEN }}
org: bitovi
repo: operations-repo
branch: some-branch
workflow: new-workflow.yaml
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the pipeline described in the issue: create a branch and a new pipeline in the ops repository, then use the shown GitHub Actions step with branch `some-branch` and workflow `new-workflow.yaml`. Compare the result with triggering the same workflow from `main`; done means the specified branch reliably triggers the requested workflow.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions
Domain
ci-cd
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.